fixed phpdoc
This commit is contained in:
parent
88cef41560
commit
a1cfdb421a
@ -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 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)
|
* @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)
|
public static function register($level = null, $displayErrors = true)
|
||||||
{
|
{
|
||||||
|
@ -80,6 +80,10 @@ class RegisterListenersPassTest extends \PHPUnit_Framework_TestCase
|
|||||||
->method('findTaggedServiceIds')
|
->method('findTaggedServiceIds')
|
||||||
->will($this->onConsecutiveCalls(array(), $services));
|
->will($this->onConsecutiveCalls(array(), $services));
|
||||||
|
|
||||||
|
$builder->expects($this->atLeastOnce())
|
||||||
|
->method('getDefinition')
|
||||||
|
->will($this->returnValue($definition));
|
||||||
|
|
||||||
$builder->expects($this->atLeastOnce())
|
$builder->expects($this->atLeastOnce())
|
||||||
->method('findDefinition')
|
->method('findDefinition')
|
||||||
->will($this->returnValue($definition));
|
->will($this->returnValue($definition));
|
||||||
|
Reference in New Issue
Block a user