Skip to content

Commit

Permalink
First step of cleaning up for #3611
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastianbergmann committed Apr 24, 2019
1 parent e5cf782 commit 21ee615
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/Util/Log/JUnit.php
Expand Up @@ -376,11 +376,9 @@ public function getXML(): string
* This is a "hack" needed for the integration of
* PHPUnit with Phing.
*/
public function setWriteDocument(/*bool*/ $flag): void
public function setWriteDocument(bool $flag): void
{
if (\is_bool($flag)) {
$this->writeDocument = $flag;
}
$this->writeDocument = $flag;
}

private function doAddFault(Test $test, \Throwable $t, float $time, $type): void
Expand Down

0 comments on commit 21ee615

Please sign in to comment.