Skip to content

Commit abde0dc

Browse files
committed
Fix compatibility with PHP 5.3
1 parent fd51ccf commit abde0dc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/DataFields.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ public static function parseBlock($block)
159159
protected static function lineContinues($lines, $n, $key)
160160
{
161161
return
162-
in_array($key, ['FieldValue', 'FieldValueDefault']) &&
162+
in_array($key, array('FieldValue', 'FieldValueDefault')) &&
163163
array_key_exists($n + 1, $lines) &&
164164
!preg_match('/^Field(Value|ValueDefault|Justification):/', $lines[$n + 1]);
165165
}

0 commit comments

Comments
 (0)