Skip to content

Commit

Permalink
Remove dead code
Browse files Browse the repository at this point in the history
  • Loading branch information
elliotchance committed Sep 13, 2014
1 parent 74e3085 commit af17b4c
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions src/Concise/Console/ResultPrinter/ResultPrinterProxy.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,10 @@ class ResultPrinterProxy extends \PHPUnit_TextUI_ResultPrinter

protected $totalSuccesses = 0;

public function __construct(TestResultDelegateInterface $resultPrinter = null)
public function __construct(TestResultDelegateInterface $resultPrinter)
{
parent::__construct();
if ($resultPrinter) {
$this->resultPrinter = $resultPrinter;
} else {
$this->resultPrinter = new DefaultResultPrinter();
}
$this->resultPrinter = $resultPrinter;
}

public function getResultPrinter()
Expand Down

0 comments on commit af17b4c

Please sign in to comment.