@@ -1,8 +1,8 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * @link https://github.com/old-town/workflow-zf2 |
|
4 | - * @author Malofeykin Andrey <[email protected]> |
|
5 | - */ |
|
3 | + * @link https://github.com/old-town/workflow-zf2 |
|
4 | + * @author Malofeykin Andrey <[email protected]> |
|
5 | + */ |
|
6 | 6 | namespace OldTown\Workflow\ZF2\Options\Exception; |
7 | 7 | |
8 | 8 | use \OldTown\Workflow\ZF2\Exception\ExceptionInterface as BaseException; |
@@ -1,8 +1,8 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * @link https://github.com/old-town/workflow-zf2 |
|
4 | - * @author Malofeykin Andrey <[email protected]> |
|
5 | - */ |
|
3 | + * @link https://github.com/old-town/workflow-zf2 |
|
4 | + * @author Malofeykin Andrey <[email protected]> |
|
5 | + */ |
|
6 | 6 | namespace OldTown\Workflow\ZF2\Options\Exception; |
7 | 7 | |
8 | 8 | use OldTown\Workflow\ZF2\Exception\InvalidArgumentException as Exception; |
@@ -1,8 +1,8 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * @link https://github.com/old-town/workflow-zf2 |
|
4 | - * @author Malofeykin Andrey <[email protected]> |
|
5 | - */ |
|
3 | + * @link https://github.com/old-town/workflow-zf2 |
|
4 | + * @author Malofeykin Andrey <[email protected]> |
|
5 | + */ |
|
6 | 6 | namespace OldTown\Workflow\ZF2\Options\Exception; |
7 | 7 | |
8 | 8 | /** |
@@ -1,8 +1,8 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * @link https://github.com/old-town/workflow-zf2 |
|
4 | - * @author Malofeykin Andrey <[email protected]> |
|
5 | - */ |
|
3 | + * @link https://github.com/old-town/workflow-zf2 |
|
4 | + * @author Malofeykin Andrey <[email protected]> |
|
5 | + */ |
|
6 | 6 | namespace OldTown\Workflow\ZF2\Options; |
7 | 7 | |
8 | 8 | use Zend\Stdlib\AbstractOptions; |
@@ -26,7 +26,7 @@ discard block |
||
26 | 26 | * |
27 | 27 | * @var array |
28 | 28 | */ |
29 | - protected $options = []; |
|
29 | + protected $options = [ ]; |
|
30 | 30 | |
31 | 31 | /** |
32 | 32 | * Возвращает имя сервиса |
@@ -53,7 +53,7 @@ discard block |
||
53 | 53 | */ |
54 | 54 | public function setName($name) |
55 | 55 | { |
56 | - $this->name = (string)$name; |
|
56 | + $this->name = (string) $name; |
|
57 | 57 | |
58 | 58 | return $this; |
59 | 59 | } |
@@ -1,8 +1,8 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * @link https://github.com/old-town/workflow-zf2 |
|
4 | - * @author Malofeykin Andrey <[email protected]> |
|
5 | - */ |
|
3 | + * @link https://github.com/old-town/workflow-zf2 |
|
4 | + * @author Malofeykin Andrey <[email protected]> |
|
5 | + */ |
|
6 | 6 | namespace OldTown\Workflow\ZF2\Options; |
7 | 7 | |
8 | 8 | use Zend\Stdlib\AbstractOptions; |
@@ -33,7 +33,7 @@ discard block |
||
33 | 33 | * |
34 | 34 | * @var array |
35 | 35 | */ |
36 | - protected $managerAliases = []; |
|
36 | + protected $managerAliases = [ ]; |
|
37 | 37 | |
38 | 38 | /** |
39 | 39 | * @return array |
@@ -92,7 +92,7 @@ discard block |
||
92 | 92 | * |
93 | 93 | * @return $this |
94 | 94 | */ |
95 | - public function setManagerAliases(array $managerAliases = []) |
|
95 | + public function setManagerAliases(array $managerAliases = [ ]) |
|
96 | 96 | { |
97 | 97 | $this->managerAliases = $managerAliases; |
98 | 98 | |
@@ -116,7 +116,7 @@ discard block |
||
116 | 116 | throw new Exception\InvalidManagerNameException($errMsg); |
117 | 117 | } |
118 | 118 | |
119 | - return new ManagerOptions($this->managers[$managerName]); |
|
119 | + return new ManagerOptions($this->managers[ $managerName ]); |
|
120 | 120 | } |
121 | 121 | |
122 | 122 | |
@@ -136,6 +136,6 @@ discard block |
||
136 | 136 | throw new Exception\InvalidConfigurationNameException($errMsg); |
137 | 137 | } |
138 | 138 | |
139 | - return new ConfigurationOptions($this->configurations[$configurationName]); |
|
139 | + return new ConfigurationOptions($this->configurations[ $configurationName ]); |
|
140 | 140 | } |
141 | 141 | } |
@@ -1,8 +1,8 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * @link https://github.com/old-town/workflow-zf2 |
|
4 | - * @author Malofeykin Andrey <[email protected]> |
|
5 | - */ |
|
3 | + * @link https://github.com/old-town/workflow-zf2 |
|
4 | + * @author Malofeykin Andrey <[email protected]> |
|
5 | + */ |
|
6 | 6 | namespace OldTown\Workflow\ZF2\Options; |
7 | 7 | |
8 | 8 | use Zend\Stdlib\AbstractOptions; |
@@ -35,7 +35,7 @@ |
||
35 | 35 | * |
36 | 36 | * @var array |
37 | 37 | */ |
38 | - protected $workflows = []; |
|
38 | + protected $workflows = [ ]; |
|
39 | 39 | |
40 | 40 | /** |
41 | 41 | * Возвращает имя конфигурации для данного менеджера workflow |
@@ -1,8 +1,8 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * @link https://github.com/old-town/workflow-zf2 |
|
4 | - * @author Malofeykin Andrey <[email protected]> |
|
5 | - */ |
|
3 | + * @link https://github.com/old-town/workflow-zf2 |
|
4 | + * @author Malofeykin Andrey <[email protected]> |
|
5 | + */ |
|
6 | 6 | namespace OldTown\Workflow\ZF2; |
7 | 7 | |
8 | 8 | return [ |
@@ -1,8 +1,8 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * @link https://github.com/old-town/workflow-zf2 |
|
4 | - * @author Malofeykin Andrey <[email protected]> |
|
5 | - */ |
|
3 | + * @link https://github.com/old-town/workflow-zf2 |
|
4 | + * @author Malofeykin Andrey <[email protected]> |
|
5 | + */ |
|
6 | 6 | namespace OldTown\Workflow\ZF2; |
7 | 7 | |
8 | 8 |
@@ -1,8 +1,8 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * @link https://github.com/old-town/workflow-zf2 |
|
4 | - * @author Malofeykin Andrey <[email protected]> |
|
5 | - */ |
|
3 | + * @link https://github.com/old-town/workflow-zf2 |
|
4 | + * @author Malofeykin Andrey <[email protected]> |
|
5 | + */ |
|
6 | 6 | namespace OldTown\Workflow\ZF2; |
7 | 7 | |
8 | 8 |