@@ -1,8 +1,8 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * @link https://github.com/old-town/workflow-zf2-service |
|
4 | - * @author Malofeykin Andrey <[email protected]> |
|
5 | - */ |
|
3 | + * @link https://github.com/old-town/workflow-zf2-service |
|
4 | + * @author Malofeykin Andrey <[email protected]> |
|
5 | + */ |
|
6 | 6 | namespace OldTown\Workflow\ZF2\Service; |
7 | 7 | |
8 | 8 |
@@ -38,14 +38,14 @@ discard block |
||
38 | 38 | * |
39 | 39 | * @var array |
40 | 40 | */ |
41 | - protected $resultMap = []; |
|
41 | + protected $resultMap = [ ]; |
|
42 | 42 | |
43 | 43 | /** |
44 | 44 | * Хеши обеспечивающие уникальность данных используемых для маппинга результатов работы сервиса |
45 | 45 | * |
46 | 46 | * @var array |
47 | 47 | */ |
48 | - protected $resultMapHash = []; |
|
48 | + protected $resultMapHash = [ ]; |
|
49 | 49 | |
50 | 50 | /** |
51 | 51 | * Имя переменной в transientVars, в которую нужно сохранить результаты сервиса |
@@ -66,7 +66,7 @@ discard block |
||
66 | 66 | */ |
67 | 67 | public function setResultVariableName($resultVariableName) |
68 | 68 | { |
69 | - $this->resultVariableName = (string)$resultVariableName; |
|
69 | + $this->resultVariableName = (string) $resultVariableName; |
|
70 | 70 | |
71 | 71 | return $this; |
72 | 72 | } |
@@ -90,7 +90,7 @@ discard block |
||
90 | 90 | */ |
91 | 91 | public function setAllowOverrideResult($allowOverrideResult) |
92 | 92 | { |
93 | - $this->allowOverrideResult = (boolean)$allowOverrideResult; |
|
93 | + $this->allowOverrideResult = (boolean) $allowOverrideResult; |
|
94 | 94 | |
95 | 95 | return $this; |
96 | 96 | } |
@@ -123,8 +123,8 @@ discard block |
||
123 | 123 | } |
124 | 124 | |
125 | 125 | |
126 | - $this->resultMap[$item->getFrom()] = $item; |
|
127 | - $this->resultMapHash[$key] = $key; |
|
126 | + $this->resultMap[ $item->getFrom() ] = $item; |
|
127 | + $this->resultMapHash[ $key ] = $key; |
|
128 | 128 | $this->flagUseResultMap = true; |
129 | 129 | |
130 | 130 | return $this; |
@@ -158,6 +158,6 @@ discard block |
||
158 | 158 | $errMsg = sprintf('Map for key %s not found', $from); |
159 | 159 | throw new Exception\InvalidResultMapException($errMsg); |
160 | 160 | } |
161 | - return $this->resultMap[$from]; |
|
161 | + return $this->resultMap[ $from ]; |
|
162 | 162 | } |
163 | 163 | } |
@@ -1,8 +1,8 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * @link https://github.com/old-town/workflow-zf2-service |
|
4 | - * @author Malofeykin Andrey <[email protected]> |
|
5 | - */ |
|
3 | + * @link https://github.com/old-town/workflow-zf2-service |
|
4 | + * @author Malofeykin Andrey <[email protected]> |
|
5 | + */ |
|
6 | 6 | namespace OldTown\Workflow\ZF2\Service; |
7 | 7 | |
8 | 8 |
@@ -1,8 +1,8 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * @link https://github.com/old-town/workflow-zf2-service |
|
4 | - * @author Malofeykin Andrey <[email protected]> |
|
5 | - */ |
|
3 | + * @link https://github.com/old-town/workflow-zf2-service |
|
4 | + * @author Malofeykin Andrey <[email protected]> |
|
5 | + */ |
|
6 | 6 | namespace OldTown\Workflow\ZF2\Service; |
7 | 7 | |
8 | 8 |
@@ -1,8 +1,8 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * @link https://github.com/old-town/workflow-zf2-service |
|
4 | - * @author Malofeykin Andrey <[email protected]> |
|
5 | - */ |
|
3 | + * @link https://github.com/old-town/workflow-zf2-service |
|
4 | + * @author Malofeykin Andrey <[email protected]> |
|
5 | + */ |
|
6 | 6 | namespace OldTown\Workflow\ZF2\Service; |
7 | 7 | |
8 | 8 |
@@ -1,8 +1,8 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * @link https://github.com/old-town/workflow-zf2-service |
|
4 | - * @author Malofeykin Andrey <[email protected]> |
|
5 | - */ |
|
3 | + * @link https://github.com/old-town/workflow-zf2-service |
|
4 | + * @author Malofeykin Andrey <[email protected]> |
|
5 | + */ |
|
6 | 6 | namespace OldTown\Workflow\ZF2\Service; |
7 | 7 | |
8 | 8 |
@@ -1,8 +1,8 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * @link https://github.com/old-town/workflow-zf2-service |
|
4 | - * @author Malofeykin Andrey <[email protected]> |
|
5 | - */ |
|
3 | + * @link https://github.com/old-town/workflow-zf2-service |
|
4 | + * @author Malofeykin Andrey <[email protected]> |
|
5 | + */ |
|
6 | 6 | namespace OldTown\Workflow\ZF2\Service; |
7 | 7 | |
8 | 8 |
@@ -1,8 +1,8 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * @link https://github.com/old-town/workflow-zf2-service |
|
4 | - * @author Malofeykin Andrey <[email protected]> |
|
5 | - */ |
|
3 | + * @link https://github.com/old-town/workflow-zf2-service |
|
4 | + * @author Malofeykin Andrey <[email protected]> |
|
5 | + */ |
|
6 | 6 | namespace OldTown\Workflow\ZF2\Service; |
7 | 7 | |
8 | 8 |
@@ -1,8 +1,8 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * @link https://github.com/old-town/workflow-zf2-service |
|
4 | - * @author Malofeykin Andrey <[email protected]> |
|
5 | - */ |
|
3 | + * @link https://github.com/old-town/workflow-zf2-service |
|
4 | + * @author Malofeykin Andrey <[email protected]> |
|
5 | + */ |
|
6 | 6 | namespace OldTown\Workflow\ZF2\Service; |
7 | 7 | |
8 | 8 |
@@ -1,8 +1,8 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * @link https://github.com/old-town/workflow-zf2-service |
|
4 | - * @author Malofeykin Andrey <[email protected]> |
|
5 | - */ |
|
3 | + * @link https://github.com/old-town/workflow-zf2-service |
|
4 | + * @author Malofeykin Andrey <[email protected]> |
|
5 | + */ |
|
6 | 6 | namespace OldTown\Workflow\ZF2\Service; |
7 | 7 | |
8 | 8 |