@@ -43,7 +43,7 @@ |
||
| 43 | 43 | |
| 44 | 44 | public function recalculate() |
| 45 | 45 | { |
| 46 | - if (! $this->user instanceof User) { |
|
| 46 | + if ( ! $this->user instanceof User) { |
|
| 47 | 47 | throw new InvalidDataException("User not set"); |
| 48 | 48 | } |
| 49 | 49 | $runningTotal = 0; |
@@ -225,7 +225,7 @@ |
||
| 225 | 225 | |
| 226 | 226 | $equipment->addPhoto($newFilename); |
| 227 | 227 | |
| 228 | - } catch(\Exception $e) { |
|
| 228 | + } catch (\Exception $e) { |
|
| 229 | 229 | \Log::error($e); |
| 230 | 230 | throw new ImageFailedException($e->getMessage()); |
| 231 | 231 | } |