@@ -161,8 +161,9 @@ |
||
| 161 | 161 | return ['url' => $attachment, 'path' => $attachment,]; |
| 162 | 162 | } else if (is_array($attachment)) { |
| 163 | 163 | return $attachment; |
| 164 | - } else if ($attachment instanceof Arrayable) |
|
| 165 | - return $attachment->toArray(); |
|
| 164 | + } else if ($attachment instanceof Arrayable) { |
|
| 165 | + return $attachment->toArray(); |
|
| 166 | + } |
|
| 166 | 167 | return []; |
| 167 | 168 | } |
| 168 | 169 | |