Passed
Push — main ( 578b49...caeba9 )
by Sammy
18:38 queued 16:08
created
Controllers/Reception.php 1 patch
Braces   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -27,8 +27,9 @@
 block discarded – undo
27 27
         $target_controller = $this->get('Controllers\\'.$router->targetController());
28 28
 
29 29
         if ($target_controller->requiresOperator()) {
30
-            if(is_null($operator_id = $this->get('HexMakina\BlackBox\StateAgentInterface')->operatorId()))
31
-                $this->checkin();
30
+            if(is_null($operator_id = $this->get('HexMakina\BlackBox\StateAgentInterface')->operatorId())) {
31
+                            $this->checkin();
32
+            }
32 33
 
33 34
             if(is_null($operator = get_class($operator)::exists($operator_id)) || !$operator->isActive()){
34 35
               $this->checkout();
Please login to merge, or discard this patch.