Skip to content

Commit

Permalink
Updated Rector to commit 5adf574161ebce53984822da71d711e3b2ba10e9
Browse files Browse the repository at this point in the history
rectorphp/rector-src@5adf574 Add test for string numeric key on ArrayItemNode (#5284)
  • Loading branch information
TomasVotruba committed Nov 25, 2023
1 parent a2c4ddd commit e9aa33c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/BetterPhpDocParser/PhpDoc/ArrayItemNode.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public function __construct($value, $key = null)
public function __toString() : string
{
$value = '';
if ($this->key !== null && !\is_numeric($this->key)) {
if ($this->key !== null && !\is_int($this->key)) {
$value .= $this->key . '=';
}
if (\is_array($this->value)) {
Expand Down
4 changes: 2 additions & 2 deletions src/Application/VersionResolver.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,12 @@ final class VersionResolver
* @api
* @var string
*/
public const PACKAGE_VERSION = '19b42014a5d00de5181bc2463d4c368c5cf194d7';
public const PACKAGE_VERSION = '5adf574161ebce53984822da71d711e3b2ba10e9';
/**
* @api
* @var string
*/
public const RELEASE_DATE = '2023-11-25 08:28:40';
public const RELEASE_DATE = '2023-11-25 08:45:31';
/**
* @var int
*/
Expand Down

0 comments on commit e9aa33c

Please sign in to comment.