Skip to content

Commit 11f4b0b

Browse files
committed
fix php cs
1 parent 4d96c3f commit 11f4b0b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Laravel/ModelAssertions.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,14 +70,14 @@ public static function assertRelationship(Model $model, string $relation, $actua
7070
PHPUnit::assertTrue(method_exists($model, $relation));
7171
PHPUnit::assertInstanceOf(Relation::class, $model->$relation());
7272

73-
if($type) {
73+
if ($type) {
7474
PHPUnit::assertInstanceOf($type, $model->$relation());
7575
}
7676

7777
$related = $model->$relation()->getRelated();
7878
PHPUnit::assertInstanceOf(Model::class, $related);
7979

80-
if(is_string($actual)) {
80+
if (is_string($actual)) {
8181
PHPUnit::assertInstanceOf($actual, $related);
8282
} else {
8383
PHPUnit::assertInstanceOf(get_class($actual), $related);

0 commit comments

Comments
 (0)