@@ -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 | /** |
@@ -228,7 +228,7 @@ discard block |
||
| 228 | 228 | * @param string $status |
| 229 | 229 | * @param array $previousIds |
| 230 | 230 | * |
| 231 | - * @return StepInterface|void |
|
| 231 | + * @return integer |
|
| 232 | 232 | * |
| 233 | 233 | * @throws Exception\DoctrineRuntimeException |
| 234 | 234 | * @throws \OldTown\Workflow\Spi\Doctrine\EntityRepository\Exception\RuntimeException |
@@ -272,9 +272,9 @@ discard block |
||
| 272 | 272 | /** |
| 273 | 273 | * @param int $entryId |
| 274 | 274 | * |
| 275 | - * @return \Doctrine\Common\Collections\ArrayCollection|Entity\StepInterface[] |
|
| 275 | + * @return SplObjectStorage |
|
| 276 | 276 | * |
| 277 | - * @return StepInterface[] |
|
| 277 | + * @return SplObjectStorage |
|
| 278 | 278 | * |
| 279 | 279 | * @throws Exception\DoctrineRuntimeException |
| 280 | 280 | * @throws Exception\InvalidArgumentException |
@@ -376,7 +376,7 @@ discard block |
||
| 376 | 376 | * |
| 377 | 377 | * @param $entryId |
| 378 | 378 | * |
| 379 | - * @return \OldTown\Workflow\Spi\StepInterface[]|\Doctrine\ORM\PersistentCollection|void |
|
| 379 | + * @return SplObjectStorage |
|
| 380 | 380 | * |
| 381 | 381 | * @throws \OldTown\Workflow\Spi\Doctrine\Exception\DoctrineRuntimeException |
| 382 | 382 | * @throws Exception\InvalidArgumentException |
@@ -434,7 +434,7 @@ discard block |
||
| 434 | 434 | /** |
| 435 | 435 | * Получение сущности по ее псевдониму |
| 436 | 436 | * |
| 437 | - * @param $alias |
|
| 437 | + * @param string $alias |
|
| 438 | 438 | * |
| 439 | 439 | * @return mixed |
| 440 | 440 | * |
@@ -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 | /** |
@@ -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 | /** |