@@ -1,8 +1,8 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * @link https://github.com/old-town/old-town-workflow |
|
4 | - * @author Malofeykin Andrey <[email protected]> |
|
5 | - */ |
|
3 | + * @link https://github.com/old-town/old-town-workflow |
|
4 | + * @author Malofeykin Andrey <[email protected]> |
|
5 | + */ |
|
6 | 6 | namespace OldTown\Workflow\Loader\CallbackWorkflowFactory; |
7 | 7 | |
8 | 8 | use OldTown\Workflow\Loader\WorkflowDescriptor; |
@@ -1,8 +1,8 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * @link https://github.com/old-town/old-town-workflow |
|
4 | - * @author Malofeykin Andrey <[email protected]> |
|
5 | - */ |
|
3 | + * @link https://github.com/old-town/old-town-workflow |
|
4 | + * @author Malofeykin Andrey <[email protected]> |
|
5 | + */ |
|
6 | 6 | namespace OldTown\Workflow\Loader; |
7 | 7 | |
8 | 8 | use DOMElement; |
@@ -62,7 +62,7 @@ discard block |
||
62 | 62 | $this->parseArgs($condition); |
63 | 63 | |
64 | 64 | if ($condition->hasAttribute('negate')) { |
65 | - $n = XmlUtil::getRequiredAttributeValue($condition, 'negate'); |
|
65 | + $n = XmlUtil::getRequiredAttributeValue($condition, 'negate'); |
|
66 | 66 | $nNormalize = strtolower($n); |
67 | 67 | |
68 | 68 | $this->negate = ('true' === $nNormalize || 'yes' === $nNormalize); |
@@ -86,7 +86,7 @@ discard block |
||
86 | 86 | */ |
87 | 87 | public function setNegate($negate) |
88 | 88 | { |
89 | - $this->negate = (boolean)$negate; |
|
89 | + $this->negate = (boolean) $negate; |
|
90 | 90 | |
91 | 91 | return $this; |
92 | 92 | } |
@@ -1,8 +1,8 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * @link https://github.com/old-town/old-town-workflow |
|
4 | - * @author Malofeykin Andrey <[email protected]> |
|
5 | - */ |
|
3 | + * @link https://github.com/old-town/old-town-workflow |
|
4 | + * @author Malofeykin Andrey <[email protected]> |
|
5 | + */ |
|
6 | 6 | namespace OldTown\Workflow\Loader; |
7 | 7 | |
8 | 8 | use DOMElement; |
@@ -123,7 +123,7 @@ discard block |
||
123 | 123 | $sName = $stepDescriptor->getName(); |
124 | 124 | } |
125 | 125 | |
126 | - $result = sprintf('step #%s [%s]', $step, $sName); |
|
126 | + $result = sprintf('step #%s [%s]', $step, $sName); |
|
127 | 127 | return $result; |
128 | 128 | } |
129 | 129 | } |
@@ -140,7 +140,7 @@ discard block |
||
140 | 140 | { |
141 | 141 | parent::validate(); |
142 | 142 | |
143 | - $conditions = $this->getConditions(); |
|
143 | + $conditions = $this->getConditions(); |
|
144 | 144 | if (0 === $conditions->count()) { |
145 | 145 | $actionDescriptor = $this->getParent(); |
146 | 146 | if (!$actionDescriptor instanceof ActionDescriptor) { |
@@ -1,8 +1,8 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * @link https://github.com/old-town/old-town-workflow |
|
4 | - * @author Malofeykin Andrey <[email protected]> |
|
5 | - */ |
|
3 | + * @link https://github.com/old-town/old-town-workflow |
|
4 | + * @author Malofeykin Andrey <[email protected]> |
|
5 | + */ |
|
6 | 6 | namespace OldTown\Workflow\Loader; |
7 | 7 | |
8 | 8 | use DOMElement; |
@@ -1,8 +1,8 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * @link https://github.com/old-town/old-town-workflow |
|
4 | - * @author Malofeykin Andrey <[email protected]> |
|
5 | - */ |
|
3 | + * @link https://github.com/old-town/old-town-workflow |
|
4 | + * @author Malofeykin Andrey <[email protected]> |
|
5 | + */ |
|
6 | 6 | namespace OldTown\Workflow\Loader; |
7 | 7 | |
8 | 8 | use DOMElement; |
@@ -1,8 +1,8 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * @link https://github.com/old-town/old-town-workflow |
|
4 | - * @author Malofeykin Andrey <[email protected]> |
|
5 | - */ |
|
3 | + * @link https://github.com/old-town/old-town-workflow |
|
4 | + * @author Malofeykin Andrey <[email protected]> |
|
5 | + */ |
|
6 | 6 | namespace OldTown\Workflow\Loader; |
7 | 7 | |
8 | 8 | use DOMElement; |
@@ -1,8 +1,8 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * @link https://github.com/old-town/old-town-workflow |
|
4 | - * @author Malofeykin Andrey <[email protected]> |
|
5 | - */ |
|
3 | + * @link https://github.com/old-town/old-town-workflow |
|
4 | + * @author Malofeykin Andrey <[email protected]> |
|
5 | + */ |
|
6 | 6 | namespace OldTown\Workflow\Loader; |
7 | 7 | |
8 | 8 | use DOMElement; |
@@ -142,7 +142,7 @@ |
||
142 | 142 | $errMsg = 'Отсутствует атрибут id'; |
143 | 143 | throw new InvalidDescriptorException($errMsg); |
144 | 144 | } |
145 | - $id = $this->getId(); |
|
145 | + $id = $this->getId(); |
|
146 | 146 | $descriptor->setAttribute('id', $id); |
147 | 147 | |
148 | 148 | $conditions = $this->getConditions(); |
@@ -1,8 +1,8 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * @link https://github.com/old-town/old-town-workflow |
|
4 | - * @author Malofeykin Andrey <[email protected]> |
|
5 | - */ |
|
3 | + * @link https://github.com/old-town/old-town-workflow |
|
4 | + * @author Malofeykin Andrey <[email protected]> |
|
5 | + */ |
|
6 | 6 | namespace OldTown\Workflow\Loader; |
7 | 7 | |
8 | 8 | use DOMElement; |
@@ -1,8 +1,8 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * @link https://github.com/old-town/old-town-workflow |
|
4 | - * @author Malofeykin Andrey <[email protected]> |
|
5 | - */ |
|
3 | + * @link https://github.com/old-town/old-town-workflow |
|
4 | + * @author Malofeykin Andrey <[email protected]> |
|
5 | + */ |
|
6 | 6 | namespace OldTown\Workflow\Loader; |
7 | 7 | |
8 | 8 | use DOMElement; |
@@ -78,7 +78,7 @@ |
||
78 | 78 | */ |
79 | 79 | public function setVariableName($variableName) |
80 | 80 | { |
81 | - $this->variableName = (string)$variableName; |
|
81 | + $this->variableName = (string) $variableName; |
|
82 | 82 | |
83 | 83 | return $this; |
84 | 84 | } |