Skip to content

Commit becf13e

Browse files
committed
Remove some redundant brackets.
1 parent 030f579 commit becf13e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/TermExistsDynamicFunctionReturnTypeExtension.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,14 +71,14 @@ public function getTypeFromFunctionCall(FunctionReflection $functionReflection,
7171
);
7272
$withoutTaxonomy = new StringType();
7373

74-
if ((($taxonomyType instanceof ConstantStringType) && $taxonomyType->getValue() !== '')) {
74+
if (($taxonomyType instanceof ConstantStringType) && $taxonomyType->getValue() !== '') {
7575
return TypeCombinator::union(
7676
$withTaxonomy,
7777
new NullType(),
7878
);
7979
}
8080

81-
if ((($taxonomyType instanceof ConstantStringType) && $taxonomyType->getValue() === '')) {
81+
if (($taxonomyType instanceof ConstantStringType) && $taxonomyType->getValue() === '') {
8282
return TypeCombinator::union(
8383
$withoutTaxonomy,
8484
new NullType(),

0 commit comments

Comments
 (0)