mirror of
https://github.com/rectorphp/rector.git
synced 2025-03-14 20:39:43 +01:00
Updated Rector to commit a43f37190db97fb8807cb08f4e7171a338625387
a43f37190d
[CodeQuality] Handle Switch maybe return on ExplicitReturnNullRector (#5801)
This commit is contained in:
parent
d36c8ad1a5
commit
f81fa92915
@ -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;
|
||||
}
|
||||
}
|
||||
|
@ -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
|
||||
*/
|
||||
|
Loading…
x
Reference in New Issue
Block a user