Skip to content

Commit

Permalink
Update to PHPStan 1.10
Browse files Browse the repository at this point in the history
  • Loading branch information
Art4 committed Oct 12, 2023
1 parent 20f8c29 commit 46d40b8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
},
"require-dev": {
"friendsofphp/php-cs-fixer": "^3.2",
"phpstan/phpstan": "^0.12.99",
"phpstan/phpstan": "^1.10",
"phpunit/phpunit": "^9"
},
"autoload": {
Expand All @@ -31,7 +31,7 @@
}
},
"scripts": {
"phpstan": "phpstan analyze --memory-limit 512M analyze src --level 8",
"phpstan": "phpstan analyze src --memory-limit 512M --level 8",
"phpunit": "phpunit"
},
"config": {
Expand Down
2 changes: 1 addition & 1 deletion src/V1/Factory.php
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ final class Factory implements FactoryInterface
];

/**
* @param array<string, string> $overload specs to be overloaded with custom classes
* @param array<string, class-string> $overload specs to be overloaded with custom classes
*/
public function __construct(array $overload = [])
{
Expand Down

0 comments on commit 46d40b8

Please sign in to comment.