Passed
Push — develop ( df27cd...7cdb5d )
by Carsten
21:39 queued 16:22
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/PdoActiveSalesmen.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -71,7 +71,7 @@
 block discarded – undo
71 71
 
72 72
 
73 73
     /**
74
-     * @return Iterator
74
+     * @return \ArrayIterator
75 75
      */
76 76
     public function getIterator()
77 77
     {
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.