Skip to content

Commit 3c5384b

Browse files
Slamdunksebastianbergmann
authored andcommitted
SA fixes
1 parent e9a72da commit 3c5384b

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/StaticAnalysis/ExecutableLinesFindingVisitor.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,9 @@
2727
*/
2828
final class ExecutableLinesFindingVisitor extends NodeVisitorAbstract
2929
{
30+
/**
31+
* @var int
32+
*/
3033
private $nextBranch = 0;
3134

3235
/**
@@ -302,7 +305,7 @@ public function executableLinesGroupedByBranch(): array
302305
return $this->executableLinesGroupedByBranch;
303306
}
304307

305-
private function setLineBranch($start, $end, $branch): void
308+
private function setLineBranch(int $start, int $end, int $branch): void
306309
{
307310
$this->nextBranch = max($this->nextBranch, $branch);
308311

0 commit comments

Comments
 (0)