Passed
Push — master ( cf69f4...59fe7a )
by Arthur
15:09 queued 10:28
created
src/Foundation/Abstracts/Transformers/IncludesRelations.php 1 patch
Braces   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -77,8 +77,9 @@
 block discarded – undo
77 77
                     } elseif ($this->resource->$relation instanceof Collection) {
78 78
                         $relations[$relation] = $transformer::collection($this->whenLoaded($relation));
79 79
                     }
80
-                    if($this->resource->$relation == null)
81
-                        $relations[$relation] = null;
80
+                    if($this->resource->$relation == null) {
81
+                                            $relations[$relation] = null;
82
+                    }
82 83
                 }
83 84
             }
84 85
         }
Please login to merge, or discard this patch.
src/Modules/Synchronisation/Generators/SynchronisationEndStateGenerator.php 1 patch
Braces   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -28,8 +28,9 @@
 block discarded – undo
28 28
     public function generate()
29 29
     {
30 30
         if (!$this->machineIsAvailable() && $this->appShouldRun()) {
31
-            if ($this->applicationState->paused)
32
-                return SynchronisationState::SCRIPT_PAUSED;
31
+            if ($this->applicationState->paused) {
32
+                            return SynchronisationState::SCRIPT_PAUSED;
33
+            }
33 34
             return SynchronisationState::SCRIPT_RUNNING;
34 35
         }
35 36
         return SynchronisationState::CLIENT_STOPPED;
Please login to merge, or discard this patch.