Skip to content

Commit e9aa33c

Browse files
committed
Updated Rector to commit 5adf574161ebce53984822da71d711e3b2ba10e9
rectorphp/rector-src@5adf574 Add test for string numeric key on ArrayItemNode (#5284)
1 parent a2c4ddd commit e9aa33c

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

packages/BetterPhpDocParser/PhpDoc/ArrayItemNode.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ public function __construct($value, $key = null)
2929
public function __toString() : string
3030
{
3131
$value = '';
32-
if ($this->key !== null && !\is_numeric($this->key)) {
32+
if ($this->key !== null && !\is_int($this->key)) {
3333
$value .= $this->key . '=';
3434
}
3535
if (\is_array($this->value)) {

src/Application/VersionResolver.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,12 @@ final class VersionResolver
1919
* @api
2020
* @var string
2121
*/
22-
public const PACKAGE_VERSION = '19b42014a5d00de5181bc2463d4c368c5cf194d7';
22+
public const PACKAGE_VERSION = '5adf574161ebce53984822da71d711e3b2ba10e9';
2323
/**
2424
* @api
2525
* @var string
2626
*/
27-
public const RELEASE_DATE = '2023-11-25 08:28:40';
27+
public const RELEASE_DATE = '2023-11-25 08:45:31';
2828
/**
2929
* @var int
3030
*/

0 commit comments

Comments
 (0)