Completed
Push — master ( fed21d...0c3b23 )
by Sherif
10:50
created
src/Modules/Core/Traits/Translatable.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@
 block discarded – undo
38 38
             return $values;
39 39
         }
40 40
 
41
-        if (! $primaryLocale || ! is_object($values) || ! property_exists($values, $primaryLocale)) {
41
+        if ( ! $primaryLocale || ! is_object($values) || ! property_exists($values, $primaryLocale)) {
42 42
             return $values ? isset($values->$fallbackLocale) ? $values->$fallbackLocale : $values : '';
43 43
         }
44 44
 
Please login to merge, or discard this patch.
src/Modules/Core/Repositories/SettingRepository.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -22,7 +22,7 @@
 block discarded – undo
22 22
      */
23 23
     public function saveMany(array $data)
24 24
     {
25
-        \DB::transaction(function () use ($data) {
25
+        \DB::transaction(function() use ($data) {
26 26
             foreach ($data as $value) {
27 27
                 $this->save($value);
28 28
             }
Please login to merge, or discard this patch.
files/Handler.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -62,7 +62,7 @@
 block discarded – undo
62 62
                 return \Response::json([$exception->getMessage()], $exception->getStatusCode());
63 63
             } elseif ($exception instanceof \Illuminate\Validation\ValidationException) {
64 64
                 return \Response::json($exception->errors(), 422);
65
-            } elseif (! $exception instanceof \Symfony\Component\Debug\Exception\FatalErrorException) {
65
+            } elseif ( ! $exception instanceof \Symfony\Component\Debug\Exception\FatalErrorException) {
66 66
                 return parent::render($request, $exception);
67 67
             }
68 68
         }
Please login to merge, or discard this patch.