mirror of https://github.com/rectorphp/rector.git
Updated Rector to commit 3df5a626e5ae8e13aaef8abfc41a136dbf1f367e
3df5a626e5
Clean up SafeLeftTypeBooleanAndOrAnalyzer (#5819)
This commit is contained in:
parent
6059061e25
commit
3a03381bf8
|
@ -59,9 +59,7 @@ final class SafeLeftTypeBooleanAndOrAnalyzer
|
|||
// skip trait this
|
||||
$classReflection = $this->reflectionResolver->resolveClassReflection($booleanAnd);
|
||||
if ($classReflection instanceof ClassReflection && $classReflection->isTrait()) {
|
||||
return !(bool) $this->betterNodeFinder->findFirst($booleanAnd->left, static function (Node $node) : bool {
|
||||
return $node instanceof Instanceof_;
|
||||
});
|
||||
return !$booleanAnd->left instanceof Instanceof_;
|
||||
}
|
||||
return \true;
|
||||
}
|
||||
|
|
|
@ -19,12 +19,12 @@ final class VersionResolver
|
|||
* @api
|
||||
* @var string
|
||||
*/
|
||||
public const PACKAGE_VERSION = 'ec59456217e4e2c212c0486cd0ee33221e5ab86c';
|
||||
public const PACKAGE_VERSION = '3df5a626e5ae8e13aaef8abfc41a136dbf1f367e';
|
||||
/**
|
||||
* @api
|
||||
* @var string
|
||||
*/
|
||||
public const RELEASE_DATE = '2024-04-12 16:45:31';
|
||||
public const RELEASE_DATE = '2024-04-12 09:48:20';
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
|
|
Loading…
Reference in New Issue