Completed
Push — master ( bd6aca...1d4cf9 )
by Nicolas
9s
created
src/Json.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -122,14 +122,14 @@
 block discarded – undo
122 122
 
123 123
         // any JSON parsing errors should throw an exception
124 124
         if (json_last_error() > 0) {
125
-            throw new \Exception('Error processing file: ' . $this->getPath() . '. Error: ' . json_last_error_msg());
125
+            throw new \Exception('Error processing file: '.$this->getPath().'. Error: '.json_last_error_msg());
126 126
         }
127 127
 
128 128
         if (config('modules.cache.enabled') === false) {
129 129
             return $attributes;
130 130
         }
131 131
 
132
-        return app('cache')->remember($this->getPath(), config('modules.cache.lifetime'), function () use ($attributes) {
132
+        return app('cache')->remember($this->getPath(), config('modules.cache.lifetime'), function() use ($attributes) {
133 133
             return $attributes;
134 134
         });
135 135
     }
Please login to merge, or discard this patch.