Skip to content

Commit 569753d

Browse files
Rework
1 parent 1b48917 commit 569753d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Type/Constant/ConstantArrayType.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -482,7 +482,7 @@ public function isCallable(): TrinaryLogic
482482
if (!$phpVersion->supportsCallableInstanceMethods()) {
483483
$methodReflection = $type->getMethod($method->getValue(), new OutOfClassScope());
484484
if ($classOrObject->isString()->yes() && !$methodReflection->isStatic()) {
485-
$has = $has->and(TrinaryLogic::createNo());
485+
$has = TrinaryLogic::createNo();
486486
}
487487
} elseif ($this->isOptionalKey(0) || $this->isOptionalKey(1)) {
488488
$has = $has->and(TrinaryLogic::createMaybe());

0 commit comments

Comments
 (0)