@@ -248,7 +248,7 @@ discard block |
||
| 248 | 248 | * Переход между двумя статусами |
| 249 | 249 | * |
| 250 | 250 | * @param WorkflowEntryInterface $entry |
| 251 | - * @param SplObjectStorage|StepInterface[] $currentSteps |
|
| 251 | + * @param SplObjectStorage $currentSteps |
|
| 252 | 252 | * @param WorkflowStoreInterface $store |
| 253 | 253 | * @param WorkflowDescriptor $wf |
| 254 | 254 | * @param ActionDescriptor $action |
@@ -497,7 +497,7 @@ discard block |
||
| 497 | 497 | |
| 498 | 498 | |
| 499 | 499 | /** |
| 500 | - * @param $id |
|
| 500 | + * @param integer $id |
|
| 501 | 501 | * @param TransientVarsInterface $inputs |
| 502 | 502 | * |
| 503 | 503 | * @return array |
@@ -874,7 +874,7 @@ discard block |
||
| 874 | 874 | |
| 875 | 875 | /** |
| 876 | 876 | * @param ActionDescriptor $action |
| 877 | - * @param $id |
|
| 877 | + * @param integer $id |
|
| 878 | 878 | * |
| 879 | 879 | * @return void |
| 880 | 880 | * |
@@ -1170,7 +1170,7 @@ discard block |
||
| 1170 | 1170 | * |
| 1171 | 1171 | * @param WorkflowDescriptor $wfDesc |
| 1172 | 1172 | * @param integer $actionId |
| 1173 | - * @param StepInterface[]|SplObjectStorage $currentSteps |
|
| 1173 | + * @param SplObjectStorage $currentSteps |
|
| 1174 | 1174 | * @param TransientVarsInterface $transientVars |
| 1175 | 1175 | * @param PropertySetInterface $ps |
| 1176 | 1176 | * |
@@ -218,7 +218,7 @@ |
||
| 218 | 218 | } |
| 219 | 219 | |
| 220 | 220 | /** |
| 221 | - * @return \String[] |
|
| 221 | + * @return string[] |
|
| 222 | 222 | */ |
| 223 | 223 | public function getWorkflowNames() |
| 224 | 224 | { |
@@ -377,7 +377,7 @@ discard block |
||
| 377 | 377 | * Удаляет workflow |
| 378 | 378 | * |
| 379 | 379 | * @param string $workflow имя удаляемого workflow |
| 380 | - * @return boolean в случае успешного удаления возвращает true, в противном случае false |
|
| 380 | + * @return boolean|null в случае успешного удаления возвращает true, в противном случае false |
|
| 381 | 381 | * @throws FactoryException |
| 382 | 382 | */ |
| 383 | 383 | public function removeWorkflow($workflow) |
@@ -391,7 +391,7 @@ discard block |
||
| 391 | 391 | * @param WorkflowDescriptor $descriptor дескриптор workflow |
| 392 | 392 | * @param boolean $replace - флаг определяющий, можно ли замениить workflow |
| 393 | 393 | * |
| 394 | - * @return boolean |
|
| 394 | + * @return boolean|null |
|
| 395 | 395 | * |
| 396 | 396 | * @throws FactoryException |
| 397 | 397 | * @throws \OldTown\Workflow\Exception\InvalidWorkflowDescriptorException |
@@ -44,7 +44,7 @@ discard block |
||
| 44 | 44 | /** |
| 45 | 45 | * Возвращает dom документ |
| 46 | 46 | * |
| 47 | - * @param DomDocumentType $domDocumentType |
|
| 47 | + * @param DOMDocumentType $domDocumentType |
|
| 48 | 48 | * |
| 49 | 49 | * @return string |
| 50 | 50 | * @throws \OldTown\Workflow\Exception\InvalidDtdSchemaException |
@@ -74,7 +74,7 @@ discard block |
||
| 74 | 74 | } |
| 75 | 75 | |
| 76 | 76 | /** |
| 77 | - * @param $path |
|
| 77 | + * @param string $path |
|
| 78 | 78 | * |
| 79 | 79 | * @return string |
| 80 | 80 | * @throws InvalidDtdSchemaException |
@@ -149,7 +149,7 @@ discard block |
||
| 149 | 149 | } |
| 150 | 150 | |
| 151 | 151 | /** |
| 152 | - * @param $uri |
|
| 152 | + * @param string $uri |
|
| 153 | 153 | * @return UriInterface |
| 154 | 154 | */ |
| 155 | 155 | protected function uriFactory($uri) |
@@ -166,7 +166,7 @@ discard block |
||
| 166 | 166 | /** |
| 167 | 167 | * Возвращает путь до директории в которой находятся схемы для валидации |
| 168 | 168 | * |
| 169 | - * @return null|string |
|
| 169 | + * @return string |
|
| 170 | 170 | */ |
| 171 | 171 | public function getPathToSchemas() |
| 172 | 172 | { |
@@ -571,7 +571,7 @@ |
||
| 571 | 571 | |
| 572 | 572 | |
| 573 | 573 | /** |
| 574 | - * @param $id |
|
| 574 | + * @param integer $id |
|
| 575 | 575 | * |
| 576 | 576 | * @return ActionDescriptor|null |
| 577 | 577 | * @throws \OldTown\Workflow\Exception\ArgumentNotNumericException |
@@ -314,7 +314,7 @@ discard block |
||
| 314 | 314 | /** |
| 315 | 315 | * Поиск по истории шагов |
| 316 | 316 | * |
| 317 | - * @param $entryId |
|
| 317 | + * @param integer $entryId |
|
| 318 | 318 | * |
| 319 | 319 | * @return SimpleStep[]|SplObjectStorage |
| 320 | 320 | */ |
@@ -687,7 +687,7 @@ discard block |
||
| 687 | 687 | * |
| 688 | 688 | * @param $value1 |
| 689 | 689 | * @param $value2 |
| 690 | - * @param $operator |
|
| 690 | + * @param integer $operator |
|
| 691 | 691 | * |
| 692 | 692 | * @return bool |
| 693 | 693 | * |
@@ -26,7 +26,7 @@ |
||
| 26 | 26 | * @param TransientVarsInterface $transientVars |
| 27 | 27 | * @param array $args |
| 28 | 28 | * @param PropertySetInterface $ps |
| 29 | - * @return bool |
|
| 29 | + * @return boolean|string |
|
| 30 | 30 | * |
| 31 | 31 | * @throws \OldTown\Workflow\Exception\WorkflowException |
| 32 | 32 | * @throws \OldTown\Workflow\Exception\RuntimeException |
@@ -101,6 +101,7 @@ discard block |
||
| 101 | 101 | * If the new state is {@link com.opensymphony.workflow.spi.WorkflowEntry.KILLED} |
| 102 | 102 | * or {@link com.opensymphony.workflow.spi.WorkflowEntry.COMPLETED} |
| 103 | 103 | * then all current steps are moved to history steps. If the new state is |
| 104 | + * @return void |
|
| 104 | 105 | */ |
| 105 | 106 | public function changeEntryState($id, $newState); |
| 106 | 107 | |
@@ -110,6 +111,7 @@ discard block |
||
| 110 | 111 | * @param integer $actionId The action id to perform (action id's are listed in the workflow descriptor). |
| 111 | 112 | * @param TransientVarsInterface $inputs The inputs to the workflow instance. |
| 112 | 113 | * instance's current state. |
| 114 | + * @return void |
|
| 113 | 115 | */ |
| 114 | 116 | public function doAction($id, $actionId, TransientVarsInterface $inputs = null); |
| 115 | 117 | |
@@ -119,6 +121,7 @@ discard block |
||
| 119 | 121 | * @param integer $id The workflow instance id |
| 120 | 122 | * @param integer $triggerId The id of the special trigger-function |
| 121 | 123 | * @thrown WorkflowException |
| 124 | + * @return void |
|
| 122 | 125 | */ |
| 123 | 126 | public function executeTriggerFunction($id, $triggerId); |
| 124 | 127 | |
@@ -87,7 +87,7 @@ |
||
| 87 | 87 | } |
| 88 | 88 | |
| 89 | 89 | /** |
| 90 | - * @param $uri |
|
| 90 | + * @param string $uri |
|
| 91 | 91 | * @return UriInterface |
| 92 | 92 | */ |
| 93 | 93 | protected function uriFactory($uri) |