Skip to content

Commit 97c351e

Browse files
authored
Be PHP 7.1 compatible
1 parent bba97db commit 97c351e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/TermExistsDynamicFunctionReturnTypeExtension.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -74,21 +74,21 @@ public function getTypeFromFunctionCall(FunctionReflection $functionReflection,
7474
if (($taxonomyType instanceof ConstantStringType) && $taxonomyType->getValue() !== '') {
7575
return TypeCombinator::union(
7676
$withTaxonomy,
77-
new NullType(),
77+
new NullType()
7878
);
7979
}
8080

8181
if (($taxonomyType instanceof ConstantStringType) && $taxonomyType->getValue() === '') {
8282
return TypeCombinator::union(
8383
$withoutTaxonomy,
84-
new NullType(),
84+
new NullType()
8585
);
8686
}
8787

8888
return TypeCombinator::union(
8989
$withTaxonomy,
9090
$withoutTaxonomy,
91-
new NullType(),
91+
new NullType()
9292
);
9393
}
9494
}

0 commit comments

Comments
 (0)