diff options
Diffstat (limited to 'vendor/symfony/cache/Tests/Marshaller')
| -rw-r--r-- | vendor/symfony/cache/Tests/Marshaller/DefaultMarshallerTest.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/vendor/symfony/cache/Tests/Marshaller/DefaultMarshallerTest.php b/vendor/symfony/cache/Tests/Marshaller/DefaultMarshallerTest.php index fc625d12fc..daa1fd19f4 100644 --- a/vendor/symfony/cache/Tests/Marshaller/DefaultMarshallerTest.php +++ b/vendor/symfony/cache/Tests/Marshaller/DefaultMarshallerTest.php @@ -19,14 +19,14 @@ class DefaultMarshallerTest extends TestCase public function testSerialize() { $marshaller = new DefaultMarshaller(); - $values = array( + $values = [ 'a' => 123, 'b' => function () {}, - ); + ]; - $expected = array('a' => \extension_loaded('igbinary') ? igbinary_serialize(123) : serialize(123)); + $expected = ['a' => \extension_loaded('igbinary') ? igbinary_serialize(123) : serialize(123)]; $this->assertSame($expected, $marshaller->marshall($values, $failed)); - $this->assertSame(array('b'), $failed); + $this->assertSame(['b'], $failed); } public function testNativeUnserialize() |
