fixed phpdoc

This commit is contained in:
Fabien Potencier 2013-09-19 11:47:13 +02:00
parent 88cef41560
commit a1cfdb421a
2 changed files with 5 additions and 1 deletions

View File

@ -58,7 +58,7 @@ class ErrorHandler
* @param integer $level The level at which the conversion to Exception is done (null to use the error_reporting() value and 0 to disable)
* @param Boolean $displayErrors Display errors (for dev environment) or just log they (production usage)
*
* @return The registered error handler
* @return ErrorHandler The registered error handler
*/
public static function register($level = null, $displayErrors = true)
{

View File

@ -80,6 +80,10 @@ class RegisterListenersPassTest extends \PHPUnit_Framework_TestCase
->method('findTaggedServiceIds')
->will($this->onConsecutiveCalls(array(), $services));
$builder->expects($this->atLeastOnce())
->method('getDefinition')
->will($this->returnValue($definition));
$builder->expects($this->atLeastOnce())
->method('findDefinition')
->will($this->returnValue($definition));