diff --git a/composer.json b/composer.json index d9ff977..9c8dbd9 100644 --- a/composer.json +++ b/composer.json @@ -7,7 +7,7 @@ ], "require": { "php": "^7.2 || ^8.0", - "phpstan/phpstan": "^1.11.11" + "phpstan/phpstan": "^1.12.1" }, "conflict": { "nette/application": "<2.3.0", diff --git a/tests/Type/Nette/data/strings-match.php b/tests/Type/Nette/data/strings-match.php index 5236e30..be205de 100644 --- a/tests/Type/Nette/data/strings-match.php +++ b/tests/Type/Nette/data/strings-match.php @@ -41,5 +41,5 @@ function (string $s): void { function (string $s): void { $result = Strings::matchAll($s, '~\[gallery ids=(„|")(?([0-9]+,? ?)+)(“|")~'); - assertType("list", $result); + assertType("list", $result); };