Skip to content

Commit 23c7895

Browse files
committed
Apply fixes from StyleCI
1 parent e6c54e4 commit 23c7895

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

tests/Database/DatabaseEloquentFactoryTest.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1016,7 +1016,7 @@ public function test_factory_can_insert_with_array_casts()
10161016
{
10171017
(new FactoryTestUserWithArrayFactory())->count(2)->insert();
10181018
$users = DB::table('users')->get();
1019-
foreach($users as $user) {
1019+
foreach ($users as $user) {
10201020
$this->assertEquals(['rtj'], json_decode($user->options, true));
10211021
$createdAt = Carbon::parse($user->created_at);
10221022
$updatedAt = Carbon::parse($user->updated_at);
@@ -1249,6 +1249,7 @@ class FactoryTestUseFactoryAttribute extends Eloquent
12491249
class FactoryTestUserWithArray extends Eloquent
12501250
{
12511251
protected $table = 'users';
1252+
12521253
protected function casts()
12531254
{
12541255
return ['options' => 'array'];
@@ -1258,6 +1259,7 @@ protected function casts()
12581259
class FactoryTestUserWithArrayFactory extends Factory
12591260
{
12601261
protected $model = FactoryTestUserWithArray::class;
1262+
12611263
public function definition()
12621264
{
12631265
return [
@@ -1267,7 +1269,6 @@ public function definition()
12671269
}
12681270
}
12691271

1270-
12711272
enum Name: string
12721273
{
12731274
case Taylor = 'totwell';

0 commit comments

Comments
 (0)