diff --git a/tests/IlluminateErrorStoreTest.php b/tests/IlluminateErrorStoreTest.php index 59c19b0..7e5d025 100644 --- a/tests/IlluminateErrorStoreTest.php +++ b/tests/IlluminateErrorStoreTest.php @@ -7,9 +7,7 @@ class IlluminateErrorStoreTest extends PHPUnit_Framework_TestCase { public function test_it_converts_array_keys_to_dot_notation() { - $errors = new MessageBag([ - 'foo.bar' => 'Some error', - ]); + $errors = new MessageBag(['foo.bar' => 'Some error']); $session = Mockery::mock('Illuminate\Session\Store'); $session->shouldReceive('has')->with('errors')->andReturn(true); $session->shouldReceive('get')->with('errors')->andReturn($errors);