Apply fixes from StyleCI (#312)
* Bump for release * Apply fixes from StyleCI
This commit is contained in:
parent
ed4068bdb9
commit
b11029a666
8 changed files with 8 additions and 11 deletions
|
@ -225,7 +225,7 @@ class APIRepository
|
|||
|
||||
try {
|
||||
$model = Models\APIKey::with('permissions')->where('public', $key)->where('user_id', $this->user->id)->firstOrFail();
|
||||
foreach($model->permissions as &$permission) {
|
||||
foreach ($model->permissions as &$permission) {
|
||||
$permission->delete();
|
||||
}
|
||||
|
||||
|
|
Reference in a new issue