mirror of
https://github.com/rectorphp/rector.git
synced 2024-06-01 00:40:52 +00:00
Updated Rector to commit 1cd83bef6196e8b8913d2252a6c8a826bafcf62a
1cd83bef61
[CodeQuality] Handle array destructuring of unpack on ArrayMergeOfNonArraysToSimpleArrayRector (#5682)
This commit is contained in:
parent
c34bb45766
commit
769ac36c32
|
@ -78,7 +78,7 @@ CODE_SAMPLE
|
||||||
if (!$nestedArrayItemItem instanceof ArrayItem) {
|
if (!$nestedArrayItemItem instanceof ArrayItem) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
$array->items[] = new ArrayItem($nestedArrayItemItem->value, $nestedArrayItemItem->key);
|
$array->items[] = $nestedArrayItemItem->unpack ? $nestedArrayItemItem : new ArrayItem($nestedArrayItemItem->value, $nestedArrayItemItem->key);
|
||||||
$isAssigned = \true;
|
$isAssigned = \true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -19,12 +19,12 @@ final class VersionResolver
|
||||||
* @api
|
* @api
|
||||||
* @var string
|
* @var string
|
||||||
*/
|
*/
|
||||||
public const PACKAGE_VERSION = '2846b015388fb1eb6d65941481fe9340908c1f79';
|
public const PACKAGE_VERSION = '1cd83bef6196e8b8913d2252a6c8a826bafcf62a';
|
||||||
/**
|
/**
|
||||||
* @api
|
* @api
|
||||||
* @var string
|
* @var string
|
||||||
*/
|
*/
|
||||||
public const RELEASE_DATE = '2024-03-03 09:17:43';
|
public const RELEASE_DATE = '2024-03-03 09:30:52';
|
||||||
/**
|
/**
|
||||||
* @var int
|
* @var int
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in New Issue
Block a user