Skip to content

Commit 46d40b8

Browse files
committed
Update to PHPStan 1.10
1 parent 20f8c29 commit 46d40b8

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
},
1818
"require-dev": {
1919
"friendsofphp/php-cs-fixer": "^3.2",
20-
"phpstan/phpstan": "^0.12.99",
20+
"phpstan/phpstan": "^1.10",
2121
"phpunit/phpunit": "^9"
2222
},
2323
"autoload": {
@@ -31,7 +31,7 @@
3131
}
3232
},
3333
"scripts": {
34-
"phpstan": "phpstan analyze --memory-limit 512M analyze src --level 8",
34+
"phpstan": "phpstan analyze src --memory-limit 512M --level 8",
3535
"phpunit": "phpunit"
3636
},
3737
"config": {

src/V1/Factory.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ final class Factory implements FactoryInterface
5454
];
5555

5656
/**
57-
* @param array<string, string> $overload specs to be overloaded with custom classes
57+
* @param array<string, class-string> $overload specs to be overloaded with custom classes
5858
*/
5959
public function __construct(array $overload = [])
6060
{

0 commit comments

Comments
 (0)