From 35a3c65db99a0b9ee7106e8ab913187832c19e5b Mon Sep 17 00:00:00 2001 From: Alexander Kotynia Date: Wed, 17 Apr 2013 10:17:10 +0300 Subject: [PATCH] [Stopwatch] Fix array definition from 5.4 --- src/Symfony/Component/Stopwatch/Tests/StopwatchTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Symfony/Component/Stopwatch/Tests/StopwatchTest.php b/src/Symfony/Component/Stopwatch/Tests/StopwatchTest.php index 20d5fb506f..8807b77ea8 100644 --- a/src/Symfony/Component/Stopwatch/Tests/StopwatchTest.php +++ b/src/Symfony/Component/Stopwatch/Tests/StopwatchTest.php @@ -59,7 +59,7 @@ class StopwatchTest extends \PHPUnit_Framework_TestCase array( 'foo' => $this->getMockBuilder('Symfony\Component\Stopwatch\StopwatchEvent') - ->setConstructorArgs([microtime(true) * 1000]) + ->setConstructorArgs(array(microtime(true) * 1000)) ->getMock()) );