diff --git a/tests/Unit/FieldTest.php b/tests/Unit/FieldTest.php index bd180af28..e21a3460b 100644 --- a/tests/Unit/FieldTest.php +++ b/tests/Unit/FieldTest.php @@ -191,7 +191,7 @@ public function test_field_after_store_called() }; /** * @var Field $field */ - $field = Field::new('title')->afterStore(function($value, $model) { + $field = Field::new('title')->afterStore(function ($value, $model) { $this->assertEquals('After store title', $value); $this->assertInstanceOf(Model::class, $model); }); @@ -228,7 +228,7 @@ public function test_field_after_update_called() ]); /** * @var Field $field */ - $field = Field::new('title')->afterUpdate(function($valueAfterUpdate, $valueBeforeUpdate, $model) { + $field = Field::new('title')->afterUpdate(function ($valueAfterUpdate, $valueBeforeUpdate, $model) { $this->assertEquals('After update title', $valueAfterUpdate); $this->assertEquals('Before update title', $valueBeforeUpdate); $this->assertInstanceOf(Model::class, $model); @@ -240,5 +240,4 @@ public function test_field_after_update_called() $field->invokeAfter($request, $model); } - }