@@ -55,8 +55,7 @@ discard block |
||
| 55 | 55 | isLastOne: $this->availableQueues() === 1, |
| 56 | 56 | standalone: true |
| 57 | 57 | ); |
| 58 | - } |
|
| 59 | - else { |
|
| 58 | + } else { |
|
| 60 | 59 | /** @var Model $class */ |
| 61 | 60 | $class = class_exists($this->model) ? $this->model : Relation::getMorphedModel($this->model); |
| 62 | 61 | $modelNotSaved = true; |
@@ -75,8 +74,7 @@ discard block |
||
| 75 | 74 | } |
| 76 | 75 | |
| 77 | 76 | $this->updateStatus(true, false); |
| 78 | - } |
|
| 79 | - catch (FileNotFoundException | Exception $e) { |
|
| 77 | + } catch (FileNotFoundException | Exception $e) { |
|
| 80 | 78 | $this->updateStatus(false, false, $e->getMessage()); |
| 81 | 79 | |
| 82 | 80 | throw new Exception($e->getMessage()); |