Skip to content

Commit 2bc458d

Browse files
authored
Apply fixes from StyleCI (#170)
1 parent 7deacd8 commit 2bc458d

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

tests/Unit/FieldTest.php

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ public function test_field_after_store_called()
191191
};
192192

193193
/** * @var Field $field */
194-
$field = Field::new('title')->afterStore(function($value, $model) {
194+
$field = Field::new('title')->afterStore(function ($value, $model) {
195195
$this->assertEquals('After store title', $value);
196196
$this->assertInstanceOf(Model::class, $model);
197197
});
@@ -228,7 +228,7 @@ public function test_field_after_update_called()
228228
]);
229229

230230
/** * @var Field $field */
231-
$field = Field::new('title')->afterUpdate(function($valueAfterUpdate, $valueBeforeUpdate, $model) {
231+
$field = Field::new('title')->afterUpdate(function ($valueAfterUpdate, $valueBeforeUpdate, $model) {
232232
$this->assertEquals('After update title', $valueAfterUpdate);
233233
$this->assertEquals('Before update title', $valueBeforeUpdate);
234234
$this->assertInstanceOf(Model::class, $model);
@@ -240,5 +240,4 @@ public function test_field_after_update_called()
240240

241241
$field->invokeAfter($request, $model);
242242
}
243-
244243
}

0 commit comments

Comments
 (0)