Updated Rector to commit a43f37190db97fb8807cb08f4e7171a338625387

a43f37190d [CodeQuality] Handle Switch maybe return on ExplicitReturnNullRector (#5801)
This commit is contained in:
Tomas Votruba 2024-04-03 15:10:32 +00:00
parent d36c8ad1a5
commit f81fa92915
2 changed files with 3 additions and 3 deletions

View File

@ -142,7 +142,7 @@ final class SilentVoidResolver
$hasDefault = \false;
foreach ($switch->cases as $case) {
if (!$case->cond instanceof Expr) {
$hasDefault = \true;
$hasDefault = $case->stmts !== [];
break;
}
}

View File

@ -19,12 +19,12 @@ final class VersionResolver
* @api
* @var string
*/
public const PACKAGE_VERSION = '0348124a5535b99712da4debc136d2e73647b97a';
public const PACKAGE_VERSION = 'a43f37190db97fb8807cb08f4e7171a338625387';
/**
* @api
* @var string
*/
public const RELEASE_DATE = '2024-04-03 21:15:24';
public const RELEASE_DATE = '2024-04-03 22:08:14';
/**
* @var int
*/