Skip to content

Commit

Permalink
Merge pull request #2804 from kdambekalns/task/php-74-compatibility
Browse files Browse the repository at this point in the history
TASK: PHP 7.4 compatibility
  • Loading branch information
kdambekalns committed Jan 15, 2020
2 parents 8da4a9b + 21ceac5 commit 30b513b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Classes/Core/Runtime.php
Original file line number Diff line number Diff line change
Expand Up @@ -812,7 +812,7 @@ protected function setPropertiesOnFusionObject(AbstractArrayFusionObject $fusion
{
foreach ($fusionConfiguration as $key => $value) {
// skip keys which start with __, as they are purely internal.
if ($key[0] === '_' && $key[1] === '_' && in_array($key, Parser::$reservedParseTreeKeys, true)) {
if (is_string($key) && $key[0] === '_' && $key[1] === '_' && in_array($key, Parser::$reservedParseTreeKeys, true)) {
continue;
}

Expand Down

0 comments on commit 30b513b

Please sign in to comment.