@@ -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\Spi; |
7 | 7 | |
8 | 8 | /** |
@@ -1,8 +1,8 @@ discard block |
||
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\Spi; |
7 | 7 | |
8 | 8 | use OldTown\Workflow\Exception\StoreException; |
@@ -19,13 +19,13 @@ discard block |
||
19 | 19 | interface WorkflowStoreInterface |
20 | 20 | { |
21 | 21 | /** |
22 | - * Устанавливает состояние для текущего workflow |
|
23 | - * |
|
24 | - * @param integer $entryId id workflow |
|
25 | - * @param integer $state id состояния в которое переводится сущность workflow |
|
26 | - * @return void |
|
27 | - * @throws StoreException |
|
28 | - */ |
|
22 | + * Устанавливает состояние для текущего workflow |
|
23 | + * |
|
24 | + * @param integer $entryId id workflow |
|
25 | + * @param integer $state id состояния в которое переводится сущность workflow |
|
26 | + * @return void |
|
27 | + * @throws StoreException |
|
28 | + */ |
|
29 | 29 | public function setEntryState($entryId, $state); |
30 | 30 | |
31 | 31 | /** |
@@ -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\TransientVars; |
7 | 7 | |
8 | 8 | use ArrayObject; |
@@ -105,7 +105,7 @@ discard block |
||
105 | 105 | } |
106 | 106 | |
107 | 107 | if (null === $className) { |
108 | - $type = (string)$type; |
|
108 | + $type = (string) $type; |
|
109 | 109 | $errMsg = sprintf( |
110 | 110 | 'Нет типа(%s) или аргумента class.name', |
111 | 111 | $type |
@@ -152,7 +152,7 @@ discard block |
||
152 | 152 | } |
153 | 153 | |
154 | 154 | if (null === $className) { |
155 | - $type = (string)$type; |
|
155 | + $type = (string) $type; |
|
156 | 156 | $errMsg = sprintf( |
157 | 157 | 'Нет типа(%s) или аргумента class.name', |
158 | 158 | $type |
@@ -200,7 +200,7 @@ discard block |
||
200 | 200 | } |
201 | 201 | |
202 | 202 | if (null === $className) { |
203 | - $type = (string)$type; |
|
203 | + $type = (string) $type; |
|
204 | 204 | $errMsg = sprintf( |
205 | 205 | 'Нет типа(%s) или аргумента class.name', |
206 | 206 | $type |
@@ -248,7 +248,7 @@ discard block |
||
248 | 248 | } |
249 | 249 | |
250 | 250 | if (null === $className) { |
251 | - $type = (string)$type; |
|
251 | + $type = (string) $type; |
|
252 | 252 | $errMsg = sprintf( |
253 | 253 | 'Нет типа(%s) или аргумента class.name', |
254 | 254 | $type |
@@ -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; |
7 | 7 | |
8 | 8 | /** |
@@ -1,10 +1,10 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * Created by PhpStorm. |
|
4 | - * User: shirshov |
|
5 | - * Date: 11.11.15 |
|
6 | - * Time: 16:24 |
|
7 | - */ |
|
3 | + * Created by PhpStorm. |
|
4 | + * User: shirshov |
|
5 | + * Date: 11.11.15 |
|
6 | + * Time: 16:24 |
|
7 | + */ |
|
8 | 8 | namespace OldTown\Workflow\Util; |
9 | 9 | |
10 | 10 | use OldTown\PropertySet\PropertySetInterface; |
@@ -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\Util; |
7 | 7 | |
8 | 8 | use OldTown\PropertySet\PropertySetInterface; |
@@ -130,7 +130,7 @@ |
||
130 | 130 | return null; |
131 | 131 | } |
132 | 132 | |
133 | - $property = (string)$property; |
|
133 | + $property = (string) $property; |
|
134 | 134 | |
135 | 135 | $st = explode('.', $property); |
136 | 136 |
@@ -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\Util; |
7 | 7 | |
8 | 8 | use OldTown\Log\LogFactory; |
@@ -52,7 +52,7 @@ |
||
52 | 52 | $categoryName = 'OSWorkflow'; |
53 | 53 | |
54 | 54 | if (array_key_exists('Category', $args)) { |
55 | - $categoryName = (string)$args['Category']; |
|
55 | + $categoryName = (string) $args['Category']; |
|
56 | 56 | } |
57 | 57 | $category = "{$categoryName}.{$workflowName}"; |
58 | 58 |
@@ -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\Util\PhpShell; |
7 | 7 | |
8 | 8 | use OldTown\Workflow\Exception\InvalidArgumentException; |
@@ -253,7 +253,7 @@ discard block |
||
253 | 253 | */ |
254 | 254 | public function setContextParam($name, $contextParam) |
255 | 255 | { |
256 | - $name = (string)$name; |
|
256 | + $name = (string) $name; |
|
257 | 257 | $this->contextParams[$name] = $contextParam; |
258 | 258 | |
259 | 259 | return $this; |
@@ -382,7 +382,7 @@ discard block |
||
382 | 382 | |
383 | 383 | |
384 | 384 | $source = $this->source; |
385 | - $executor = function (array $args = []) use ($source) { |
|
385 | + $executor = function(array $args = []) use ($source) { |
|
386 | 386 | extract($args); |
387 | 387 | ob_start(); |
388 | 388 | $result = eval($source); |