@@ -230,7 +230,7 @@ discard block |
||
| 230 | 230 | * @param string $status |
| 231 | 231 | * @param array $previousIds |
| 232 | 232 | * |
| 233 | - * @return StepInterface|void |
|
| 233 | + * @return integer |
|
| 234 | 234 | * |
| 235 | 235 | * @throws Exception\DoctrineRuntimeException |
| 236 | 236 | * @throws \OldTown\Workflow\Spi\Doctrine\EntityRepository\Exception\RuntimeException |
@@ -273,9 +273,9 @@ discard block |
||
| 273 | 273 | /** |
| 274 | 274 | * @param int $entryId |
| 275 | 275 | * |
| 276 | - * @return \Doctrine\Common\Collections\ArrayCollection|Entity\CurrentStepInterface[] |
|
| 276 | + * @return SplObjectStorage |
|
| 277 | 277 | * |
| 278 | - * @return StepInterface[] |
|
| 278 | + * @return SplObjectStorage |
|
| 279 | 279 | * |
| 280 | 280 | * @throws Exception\DoctrineRuntimeException |
| 281 | 281 | * @throws Exception\InvalidArgumentException |
@@ -432,7 +432,7 @@ discard block |
||
| 432 | 432 | /** |
| 433 | 433 | * Получение сущности по ее псевдониму |
| 434 | 434 | * |
| 435 | - * @param $alias |
|
| 435 | + * @param string $alias |
|
| 436 | 436 | * |
| 437 | 437 | * @return mixed |
| 438 | 438 | * |
@@ -119,7 +119,7 @@ discard block |
||
| 119 | 119 | |
| 120 | 120 | |
| 121 | 121 | /** |
| 122 | - * @return string |
|
| 122 | + * @return integer |
|
| 123 | 123 | */ |
| 124 | 124 | public function getId() |
| 125 | 125 | { |
@@ -279,7 +279,7 @@ discard block |
||
| 279 | 279 | } |
| 280 | 280 | |
| 281 | 281 | /** |
| 282 | - * @return string |
|
| 282 | + * @return integer |
|
| 283 | 283 | */ |
| 284 | 284 | public function getStepId() |
| 285 | 285 | { |
@@ -114,7 +114,7 @@ discard block |
||
| 114 | 114 | */ |
| 115 | 115 | public function __construct() |
| 116 | 116 | { |
| 117 | - $this->previousSteps = new ArrayCollection(); |
|
| 117 | + $this->previousSteps = new ArrayCollection(); |
|
| 118 | 118 | } |
| 119 | 119 | |
| 120 | 120 | |
@@ -153,7 +153,7 @@ discard block |
||
| 153 | 153 | */ |
| 154 | 154 | public function setActionId($actionId = null) |
| 155 | 155 | { |
| 156 | - $this->actionId = null !== $actionId ? (integer)$actionId : $actionId; |
|
| 156 | + $this->actionId = null !== $actionId ? (integer) $actionId : $actionId; |
|
| 157 | 157 | |
| 158 | 158 | return $this; |
| 159 | 159 | } |
@@ -173,7 +173,7 @@ discard block |
||
| 173 | 173 | */ |
| 174 | 174 | public function setCaller($caller = null) |
| 175 | 175 | { |
| 176 | - $this->caller = null !== $caller ? (string)$caller : $caller; |
|
| 176 | + $this->caller = null !== $caller ? (string) $caller : $caller; |
|
| 177 | 177 | |
| 178 | 178 | return $this; |
| 179 | 179 | } |
@@ -253,7 +253,7 @@ discard block |
||
| 253 | 253 | */ |
| 254 | 254 | public function setOwner($owner) |
| 255 | 255 | { |
| 256 | - $this->owner = null !== $owner ? (string)$owner : $owner; |
|
| 256 | + $this->owner = null !== $owner ? (string) $owner : $owner; |
|
| 257 | 257 | |
| 258 | 258 | return $this; |
| 259 | 259 | } |
@@ -273,7 +273,7 @@ discard block |
||
| 273 | 273 | */ |
| 274 | 274 | public function setStatus($status) |
| 275 | 275 | { |
| 276 | - $this->status = (string)$status; |
|
| 276 | + $this->status = (string) $status; |
|
| 277 | 277 | |
| 278 | 278 | return $this; |
| 279 | 279 | } |
@@ -293,7 +293,7 @@ discard block |
||
| 293 | 293 | */ |
| 294 | 294 | public function setStepId($stepId) |
| 295 | 295 | { |
| 296 | - $this->stepId = (string)$stepId; |
|
| 296 | + $this->stepId = (string) $stepId; |
|
| 297 | 297 | |
| 298 | 298 | return $this; |
| 299 | 299 | } |
@@ -1,8 +1,8 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * @link https://github.com/old-town/workflow-doctrine |
|
| 4 | - * @author Malofeykin Andrey <[email protected]> |
|
| 5 | - */ |
|
| 3 | + * @link https://github.com/old-town/workflow-doctrine |
|
| 4 | + * @author Malofeykin Andrey <[email protected]> |
|
| 5 | + */ |
|
| 6 | 6 | namespace OldTown\Workflow\Spi\Doctrine\Exception; |
| 7 | 7 | |
| 8 | 8 | /** |
@@ -88,7 +88,7 @@ discard block |
||
| 88 | 88 | */ |
| 89 | 89 | public function setId($id) |
| 90 | 90 | { |
| 91 | - $this->id = (integer)$id; |
|
| 91 | + $this->id = (integer) $id; |
|
| 92 | 92 | |
| 93 | 93 | return $this; |
| 94 | 94 | } |
@@ -108,7 +108,7 @@ discard block |
||
| 108 | 108 | */ |
| 109 | 109 | public function setWorkflowName($workflowName) |
| 110 | 110 | { |
| 111 | - $this->workflowName = (string)$workflowName; |
|
| 111 | + $this->workflowName = (string) $workflowName; |
|
| 112 | 112 | |
| 113 | 113 | return $this; |
| 114 | 114 | } |
@@ -128,7 +128,7 @@ discard block |
||
| 128 | 128 | */ |
| 129 | 129 | public function setState($state) |
| 130 | 130 | { |
| 131 | - $this->state = (integer)$state; |
|
| 131 | + $this->state = (integer) $state; |
|
| 132 | 132 | |
| 133 | 133 | return $this; |
| 134 | 134 | } |
@@ -1,8 +1,8 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * @link https://github.com/old-town/workflow-doctrine |
|
| 4 | - * @author Malofeykin Andrey <[email protected]> |
|
| 5 | - */ |
|
| 3 | + * @link https://github.com/old-town/workflow-doctrine |
|
| 4 | + * @author Malofeykin Andrey <[email protected]> |
|
| 5 | + */ |
|
| 6 | 6 | namespace OldTown\Workflow\Spi\Doctrine\Exception; |
| 7 | 7 | |
| 8 | 8 | /** |
@@ -1,8 +1,8 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * @link https://github.com/old-town/workflow-doctrine |
|
| 4 | - * @author Malofeykin Andrey <[email protected]> |
|
| 5 | - */ |
|
| 3 | + * @link https://github.com/old-town/workflow-doctrine |
|
| 4 | + * @author Malofeykin Andrey <[email protected]> |
|
| 5 | + */ |
|
| 6 | 6 | namespace OldTown\Workflow\Spi\Doctrine\Exception; |
| 7 | 7 | |
| 8 | 8 | /** |
@@ -1,8 +1,8 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * @link https://github.com/old-town/workflow-doctrine |
|
| 4 | - * @author Malofeykin Andrey <[email protected]> |
|
| 5 | - */ |
|
| 3 | + * @link https://github.com/old-town/workflow-doctrine |
|
| 4 | + * @author Malofeykin Andrey <[email protected]> |
|
| 5 | + */ |
|
| 6 | 6 | namespace OldTown\Workflow\Spi\Doctrine\Exception; |
| 7 | 7 | |
| 8 | 8 | /** |
@@ -1,8 +1,8 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * @link https://github.com/old-town/workflow-doctrine |
|
| 4 | - * @author Malofeykin Andrey <[email protected]> |
|
| 5 | - */ |
|
| 3 | + * @link https://github.com/old-town/workflow-doctrine |
|
| 4 | + * @author Malofeykin Andrey <[email protected]> |
|
| 5 | + */ |
|
| 6 | 6 | namespace OldTown\Workflow\Spi\Doctrine\Exception; |
| 7 | 7 | |
| 8 | 8 | /** |
@@ -1,8 +1,8 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * @link https://github.com/old-town/workflow-doctrine |
|
| 4 | - * @author Malofeykin Andrey <[email protected]> |
|
| 5 | - */ |
|
| 3 | + * @link https://github.com/old-town/workflow-doctrine |
|
| 4 | + * @author Malofeykin Andrey <[email protected]> |
|
| 5 | + */ |
|
| 6 | 6 | namespace OldTown\Workflow\Spi\Doctrine\Exception; |
| 7 | 7 | |
| 8 | 8 | /** |
@@ -1,8 +1,8 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * @link https://github.com/old-town/workflow-doctrine |
|
| 4 | - * @author Malofeykin Andrey <[email protected]> |
|
| 5 | - */ |
|
| 3 | + * @link https://github.com/old-town/workflow-doctrine |
|
| 4 | + * @author Malofeykin Andrey <[email protected]> |
|
| 5 | + */ |
|
| 6 | 6 | namespace OldTown\Workflow\Spi\Doctrine\Exception; |
| 7 | 7 | |
| 8 | 8 | /** |
@@ -1,8 +1,8 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * @link https://github.com/old-town/workflow-doctrine |
|
| 4 | - * @author Malofeykin Andrey <[email protected]> |
|
| 5 | - */ |
|
| 3 | + * @link https://github.com/old-town/workflow-doctrine |
|
| 4 | + * @author Malofeykin Andrey <[email protected]> |
|
| 5 | + */ |
|
| 6 | 6 | namespace OldTown\Workflow\Spi\Doctrine\Exception; |
| 7 | 7 | |
| 8 | 8 | /** |