Skip to content

Commit 132670f

Browse files
committed
[util] csfix
1 parent df9f81e commit 132670f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/util/sfToolkit.class.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -245,8 +245,8 @@ public static function arrayDeepMerge()
245245
*/
246246
public static function stringToArray($string)
247247
{
248-
if ($string === null) {
249-
return [];
248+
if (null === $string) {
249+
return array();
250250
}
251251

252252
preg_match_all('/

0 commit comments

Comments
 (0)