Skip to content

Commit

Permalink
Fixes #1174 - don't hint with class that may not be loaded yet
Browse files Browse the repository at this point in the history
  • Loading branch information
mrook committed Feb 18, 2015
1 parent ca76891 commit 35d5185
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions classes/phing/tasks/ext/phpunit/PHPUnitTask.php
Expand Up @@ -290,9 +290,9 @@ public function addFormatter(FormatterElement $fe)
/**
* Add a new listener to all tests of this taks
*
* @param PHPUnit_Framework_TestListener $listener
* @param $listener
*/
public function addListener(PHPUnit_Framework_TestListener $listener)
private function addListener($listener)
{
$this->listeners[] = $listener;
}
Expand Down

0 comments on commit 35d5185

Please sign in to comment.