Skip to content

Commit 32bdeec

Browse files
committed
TASK: Add PHPStan type hint to Result::successful()
1 parent 108a2dd commit 32bdeec

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Engine/Result.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ public static function failed(Errors $errors): self
2121
return new self($errors);
2222
}
2323

24+
/** @phpstan-assert-if-true null $this->errors */
2425
public function successful(): bool
2526
{
2627
return $this->errors === null;

0 commit comments

Comments
 (0)