Updated Rector to commit 3a7c8fee6aaeccb3d48beb6731743872ac0ecdd1

3a7c8fee6a [Arguments] Skip First class callable on FunctionArgumentDefaultValueReplacerRector (#5966)
This commit is contained in:
Tomas Votruba 2024-06-14 09:28:58 +00:00
parent af3a0c090d
commit a23972fd51
2 changed files with 5 additions and 2 deletions

View File

@ -87,6 +87,9 @@ final class ArgumentDefaultValueReplacer
*/
private function processArgs($expr, ReplaceArgumentDefaultValueInterface $replaceArgumentDefaultValue) : ?Expr
{
if ($expr->isFirstClassCallable()) {
return null;
}
$position = $replaceArgumentDefaultValue->getPosition();
$particularArg = $expr->getArgs()[$position] ?? null;
if (!$particularArg instanceof Arg) {

View File

@ -19,12 +19,12 @@ final class VersionResolver
* @api
* @var string
*/
public const PACKAGE_VERSION = 'fb6bbeee075ff5b71901bacc8031abc4738b54d4';
public const PACKAGE_VERSION = '3a7c8fee6aaeccb3d48beb6731743872ac0ecdd1';
/**
* @api
* @var string
*/
public const RELEASE_DATE = '2024-06-14 07:10:24';
public const RELEASE_DATE = '2024-06-14 16:25:32';
/**
* @var int
*/