Skip to content

Commit 054cf92

Browse files
authored
Apply fixes from StyleCI (#32185)
1 parent 651371a commit 054cf92

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

tests/Integration/Database/DatabaseEloquentModelCustomCastingTest.php

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
use Illuminate\Contracts\Database\Eloquent\Castable;
66
use Illuminate\Contracts\Database\Eloquent\CastsAttributes;
77
use Illuminate\Contracts\Database\Eloquent\CastsInboundAttributes;
8-
use Illuminate\Contracts\Database\Eloquent\HasCasterClass;
98
use Illuminate\Database\Eloquent\Model;
109

1110
/**
@@ -121,13 +120,13 @@ public function testWithCastableInterface()
121120
$model = new TestEloquentModelWithCustomCast;
122121

123122
$model->setRawAttributes([
124-
'value_object_with_caster' => serialize(new ValueObject('hello'))
123+
'value_object_with_caster' => serialize(new ValueObject('hello')),
125124
]);
126125

127126
$this->assertInstanceOf(ValueObject::class, $model->value_object_with_caster);
128127

129128
$model->setRawAttributes([
130-
'value_object_caster_with_argument' => null
129+
'value_object_caster_with_argument' => null,
131130
]);
132131

133132
$this->assertEquals('argument', $model->value_object_caster_with_argument);

0 commit comments

Comments
 (0)