Skip to content

Commit 2ac1809

Browse files
authored
Fix PHPStan error (#552)
1 parent 9329da8 commit 2ac1809

File tree

2 files changed

+0
-7
lines changed

2 files changed

+0
-7
lines changed

phpstan.neon

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,3 @@ parameters:
5252
-
5353
message: '#Cannot call method getName\(\) on PHPStan\\Reflection\\ClassReflection\|null#'
5454
path: rules/CodeQuality/Reflection/MethodParametersAndReturnTypesResolver.php
55-
56-
# due to https://github.com/rectorphp/type-perfect/pull/69
57-
-
58-
message: '#Parameters should have "PhpParser\\Node\\Stmt\\Expression" types as the only types passed to this method#'
59-
path: rules/PHPUnit100/Rector/StmtsAwareInterface/ExpectsMethodCallDecorator.php

rules/PHPUnit100/Rector/StmtsAwareInterface/ExpectsMethodCallDecorator.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,6 @@ public function __construct(
2828
* Replace $this->expects(...)
2929
* with
3030
* $expects = ...
31-
*
32-
* @param Expression<MethodCall> $expression
3331
*/
3432
public function decorate(Expression $expression): MethodCall|StaticCall|null
3533
{

0 commit comments

Comments
 (0)