mirror of
https://github.com/rectorphp/rector.git
synced 2024-06-01 00:40:52 +00:00
Updated Rector to commit 1bbb3faaed01bd234f8e53564d1686529551e75a
1bbb3faaed
[TypeDeclaration] Skip maybe not returned on while on ReturnUnionTypeRector (#5812)
This commit is contained in:
parent
415f0bbf34
commit
e56fb5adb0
|
@ -153,7 +153,7 @@ final class SilentVoidResolver
|
||||||
if (!$this->hasStmtsAlwaysReturnOrExit($stmt->stmts)) {
|
if (!$this->hasStmtsAlwaysReturnOrExit($stmt->stmts)) {
|
||||||
return \false;
|
return \false;
|
||||||
}
|
}
|
||||||
return !$this->isFoundLoopControl($stmt);
|
return $stmt instanceof Do_ && !$this->isFoundLoopControl($stmt);
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
* @param \PhpParser\Node\Stmt|\PhpParser\Node\Expr $stmt
|
* @param \PhpParser\Node\Stmt|\PhpParser\Node\Expr $stmt
|
||||||
|
|
|
@ -19,12 +19,12 @@ final class VersionResolver
|
||||||
* @api
|
* @api
|
||||||
* @var string
|
* @var string
|
||||||
*/
|
*/
|
||||||
public const PACKAGE_VERSION = '54e2e110d506d6e06e45cb808ce87824306ddd4f';
|
public const PACKAGE_VERSION = '1bbb3faaed01bd234f8e53564d1686529551e75a';
|
||||||
/**
|
/**
|
||||||
* @api
|
* @api
|
||||||
* @var string
|
* @var string
|
||||||
*/
|
*/
|
||||||
public const RELEASE_DATE = '2024-04-08 14:20:29';
|
public const RELEASE_DATE = '2024-04-08 20:16:33';
|
||||||
/**
|
/**
|
||||||
* @var int
|
* @var int
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in New Issue
Block a user