Updated Rector to commit 1cd83bef6196e8b8913d2252a6c8a826bafcf62a

1cd83bef61 [CodeQuality] Handle array destructuring of unpack on ArrayMergeOfNonArraysToSimpleArrayRector (#5682)
This commit is contained in:
Tomas Votruba 2024-03-03 02:33:19 +00:00
parent c34bb45766
commit 769ac36c32
2 changed files with 3 additions and 3 deletions

View File

@ -78,7 +78,7 @@ CODE_SAMPLE
if (!$nestedArrayItemItem instanceof ArrayItem) {
continue;
}
$array->items[] = new ArrayItem($nestedArrayItemItem->value, $nestedArrayItemItem->key);
$array->items[] = $nestedArrayItemItem->unpack ? $nestedArrayItemItem : new ArrayItem($nestedArrayItemItem->value, $nestedArrayItemItem->key);
$isAssigned = \true;
}
}

View File

@ -19,12 +19,12 @@ final class VersionResolver
* @api
* @var string
*/
public const PACKAGE_VERSION = '2846b015388fb1eb6d65941481fe9340908c1f79';
public const PACKAGE_VERSION = '1cd83bef6196e8b8913d2252a6c8a826bafcf62a';
/**
* @api
* @var string
*/
public const RELEASE_DATE = '2024-03-03 09:17:43';
public const RELEASE_DATE = '2024-03-03 09:30:52';
/**
* @var int
*/