Completed
Push — master ( bef18b...326c30 )
by Carsten
08:15 queued 04:08
created
src/SalesmanIdAwareTrait.php 1 patch
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -15,8 +15,10 @@
 block discarded – undo
15 15
     {
16 16
         if ($salesman instanceOf SalesmanIdProviderInterface):
17 17
             $this->salesman_id = $salesman->getSalesmanId();
18
-        else:
18
+        else {
19
+            :
19 20
             $this->salesman_id = $salesman;
21
+        }
20 22
         endif;
21 23
 
22 24
         return $this;
Please login to merge, or discard this patch.
src/ApplySalesman.php 1 patch
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -50,8 +50,10 @@
 block discarded – undo
50 50
             $aggregator->salesman = $salesman_factory( $aggregator->salesman_id, $this->salesman_fallback );
51 51
 
52 52
         // Salesman can not be set
53
-        else:
53
+        else {
54
+            :
54 55
             return false;
56
+        }
55 57
         endif;
56 58
 
57 59
         return true;
Please login to merge, or discard this patch.