Skip to content

Commit 4faf5a4

Browse files
committed
PHPStan level 4
1 parent 88b086c commit 4faf5a4

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

phpstan.neon

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
parameters:
2-
level: 3
2+
level: 4
33
inferPrivatePropertyTypeFromConstructor: true
44
ignoreErrors:
55
- "#Mouf\\\\MoufManager#"

src/SQLParser/Node/Between.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ public function setMaxValueOperand($maxValueOperand)
7979
}
8080

8181
/**
82-
* @var ConditionInterface
82+
* @var ConditionInterface|null
8383
*/
8484
protected $minValueCondition;
8585

@@ -96,7 +96,7 @@ public function setMinValueCondition(ConditionInterface $minValueCondition = nul
9696
}
9797

9898
/**
99-
* @var ConditionInterface
99+
* @var ConditionInterface|null
100100
*/
101101
protected $maxValueCondition;
102102

src/SQLParser/Query/Union.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ public function walk(VisitorInterface $visitor)
105105
}
106106

107107
/**
108-
* @param Select[] $children
108+
* @param (Select|null)[] $children
109109
* @param VisitorInterface $visitor
110110
*/
111111
private function walkChildren(array &$children, VisitorInterface $visitor)

0 commit comments

Comments
 (0)