@@ -15,8 +15,10 @@ |
||
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; |
@@ -50,8 +50,10 @@ |
||
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; |