Skip to content

Commit 3c18e55

Browse files
committed
Apply fixes from StyleCI
1 parent 8a202b5 commit 3c18e55

File tree

8 files changed

+16
-16
lines changed

8 files changed

+16
-16
lines changed

src/Relations/BelongsTo.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ public function beforeMutating(Model $model, Relation $relation, array $mutation
2727
$this->resource()->authorizeToAttach($model, $toPerformActionModel);
2828
break;
2929
case 'detach':
30-
$this->resource()->authorizeToDetach($model, $toPerformActionModel);
31-
break;
30+
$this->resource()->authorizeToDetach($model, $toPerformActionModel);
31+
break;
3232
}
3333

3434
$model

src/Relations/HasMany.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@ public function afterMutating(Model $model, Relation $relation, array $mutationR
3535
$this->resource()->authorizeToAttach($model, $toPerformActionModel);
3636
break;
3737
case 'detach':
38-
$this->resource()->authorizeToDetach($model, $toPerformActionModel);
39-
break;
38+
$this->resource()->authorizeToDetach($model, $toPerformActionModel);
39+
break;
4040
}
4141
}
4242
}

src/Relations/HasOne.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ public function afterMutating(Model $model, Relation $relation, array $mutationR
3131
$this->resource()->authorizeToAttach($model, $toPerformActionModel);
3232
break;
3333
case 'detach':
34-
$this->resource()->authorizeToDetach($model, $toPerformActionModel);
35-
break;
34+
$this->resource()->authorizeToDetach($model, $toPerformActionModel);
35+
break;
3636
}
3737
}
3838
}

src/Relations/HasOneOfMany.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ public function afterMutating(Model $model, Relation $relation, array $mutationR
3131
$this->resource()->authorizeToAttach($model, $toPerformActionModel);
3232
break;
3333
case 'detach':
34-
$this->resource()->authorizeToDetach($model, $toPerformActionModel);
35-
break;
34+
$this->resource()->authorizeToDetach($model, $toPerformActionModel);
35+
break;
3636
}
3737
}
3838
}

src/Relations/MorphMany.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@ public function afterMutating(Model $model, Relation $relation, array $mutationR
3636
$this->resource()->authorizeToAttach($model, $toPerformActionModel);
3737
break;
3838
case 'detach':
39-
$this->resource()->authorizeToDetach($model, $toPerformActionModel);
40-
break;
39+
$this->resource()->authorizeToDetach($model, $toPerformActionModel);
40+
break;
4141
}
4242
}
4343
}

src/Relations/MorphOne.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@ public function afterMutating(Model $model, Relation $relation, array $mutationR
3232
$this->resource()->authorizeToAttach($model, $toPerformActionModel);
3333
break;
3434
case 'detach':
35-
$this->resource()->authorizeToDetach($model, $toPerformActionModel);
36-
break;
35+
$this->resource()->authorizeToDetach($model, $toPerformActionModel);
36+
break;
3737
}
3838
}
3939
}

src/Relations/MorphOneOfMany.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@ public function afterMutating(Model $model, Relation $relation, array $mutationR
3232
$this->resource()->authorizeToAttach($model, $toPerformActionModel);
3333
break;
3434
case 'detach':
35-
$this->resource()->authorizeToDetach($model, $toPerformActionModel);
36-
break;
35+
$this->resource()->authorizeToDetach($model, $toPerformActionModel);
36+
break;
3737
}
3838
}
3939
}

src/Relations/MorphTo.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ public function beforeMutating(Model $model, Relation $relation, array $mutation
2727
$this->resource()->authorizeToAttach($model, $toPerformActionModel);
2828
break;
2929
case 'detach':
30-
$this->resource()->authorizeToDetach($model, $toPerformActionModel);
31-
break;
30+
$this->resource()->authorizeToDetach($model, $toPerformActionModel);
31+
break;
3232
}
3333

3434
$model

0 commit comments

Comments
 (0)