Skip to content

Commit 5bbcbe1

Browse files
committed
Updated PHPStan
1 parent ab83e5b commit 5bbcbe1

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@
1717
},
1818
"require-dev": {
1919
"jakub-onderka/php-parallel-lint": "^0.9.2",
20-
"phpstan/phpstan": "^0.6.4",
2120
"phpunit/phpunit": "^6.0",
22-
"lookyman/coding-standard": "^0.0.5"
21+
"lookyman/coding-standard": "^0.0.5",
22+
"phpstan/phpstan": "^0.7.0"
2323
},
2424
"autoload": {
2525
"psr-4": {

src/Type/ContainerInterfaceDynamicReturnTypeExtension.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ public function getTypeFromMethodCall(
4949
&& $methodCall->args[0]->value instanceof String_
5050
&& \array_key_exists($methodCall->args[0]->value->value, $services)
5151
&& !$services[$methodCall->args[0]->value->value]['synthetic']
52-
? new ObjectType($services[$methodCall->args[0]->value->value]['class'], \false)
52+
? new ObjectType($services[$methodCall->args[0]->value->value]['class'])
5353
: $methodReflection->getReturnType();
5454
}
5555

tests/ServiceMapTest.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
<?php

0 commit comments

Comments
 (0)