Skip to content

Commit cb366d8

Browse files
authored
Merge pull request #339 from consolibyte/consolibyte-patch-1
chore: PHP7.+ updates for curly braces
2 parents 762532a + 72aeb88 commit cb366d8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

QuickBooks/Cast.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,7 @@ static public function cast($type_or_action, $field, $value, $use_abbrevs = true
255255
$dh = opendir(dirname(__FILE__) . '/QBXML/Schema/Object');
256256
while (false !== ($file = readdir($dh)))
257257
{
258-
if ($file{0} == '.' or substr($file, -6, 6) != 'Rq.php')
258+
if ($file[0] == '.' or substr($file, -6, 6) != 'Rq.php')
259259
{
260260
continue;
261261
}

0 commit comments

Comments
 (0)