Skip to content

Commit

Permalink
Ensure that getStatus() always returns an integer
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastianbergmann committed Dec 29, 2017
1 parent 998d672 commit 4acfe0a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Framework/TestCase.php
Expand Up @@ -675,7 +675,7 @@ public function setUseErrorHandler($useErrorHandler): void
*/
public function getStatus(): int
{
return $this->status;
return (int) $this->status;
}

public function markAsRisky(): void
Expand Down

0 comments on commit 4acfe0a

Please sign in to comment.