We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1b48917 commit 569753dCopy full SHA for 569753d
src/Type/Constant/ConstantArrayType.php
@@ -482,7 +482,7 @@ public function isCallable(): TrinaryLogic
482
if (!$phpVersion->supportsCallableInstanceMethods()) {
483
$methodReflection = $type->getMethod($method->getValue(), new OutOfClassScope());
484
if ($classOrObject->isString()->yes() && !$methodReflection->isStatic()) {
485
- $has = $has->and(TrinaryLogic::createNo());
+ $has = TrinaryLogic::createNo();
486
}
487
} elseif ($this->isOptionalKey(0) || $this->isOptionalKey(1)) {
488
$has = $has->and(TrinaryLogic::createMaybe());
0 commit comments