@@ -223,7 +223,7 @@ discard block |
||
| 223 | 223 | * Adds a mandatory requirement in form of a php.ini configuration. |
| 224 | 224 | * |
| 225 | 225 | * @param string $cfgName The configuration name used for ini_get() |
| 226 | - * @param bool|callback $evaluation Either a boolean indicating whether the configuration should evaluate to true or false, |
|
| 226 | + * @param boolean|string $evaluation Either a boolean indicating whether the configuration should evaluate to true or false, |
|
| 227 | 227 | * or a callback function receiving the configuration value as parameter to determine the fulfillment of the requirement |
| 228 | 228 | * @param bool $approveCfgAbsence If true the Requirement will be fulfilled even if the configuration option does not exist, i.e. ini_get() returns false. |
| 229 | 229 | * This is helpful for abandoned configs in later PHP versions or configs of an optional extension, like Suhosin. |
@@ -241,7 +241,7 @@ discard block |
||
| 241 | 241 | * Adds an optional recommendation in form of a php.ini configuration. |
| 242 | 242 | * |
| 243 | 243 | * @param string $cfgName The configuration name used for ini_get() |
| 244 | - * @param bool|callback $evaluation Either a boolean indicating whether the configuration should evaluate to true or false, |
|
| 244 | + * @param string|false $evaluation Either a boolean indicating whether the configuration should evaluate to true or false, |
|
| 245 | 245 | * or a callback function receiving the configuration value as parameter to determine the fulfillment of the requirement |
| 246 | 246 | * @param bool $approveCfgAbsence If true the Requirement will be fulfilled even if the configuration option does not exist, i.e. ini_get() returns false. |
| 247 | 247 | * This is helpful for abandoned configs in later PHP versions or configs of an optional extension, like Suhosin. |
@@ -112,7 +112,7 @@ |
||
| 112 | 112 | /** |
| 113 | 113 | * Redo Task |
| 114 | 114 | * |
| 115 | - * @param string $task Task ID |
|
| 115 | + * @param string $taskId Task ID |
|
| 116 | 116 | * |
| 117 | 117 | * @return Task |
| 118 | 118 | * @throws TaskNotFoundException |
@@ -137,7 +137,7 @@ discard block |
||
| 137 | 137 | * @Route("/{taskId}/updateStatus/{taskStatus}",name="task.updateStatus") |
| 138 | 138 | * @Method({"GET"}) |
| 139 | 139 | * |
| 140 | - * @return array |
|
| 140 | + * @return \Symfony\Component\HttpFoundation\RedirectResponse |
|
| 141 | 141 | * @throws \Exception |
| 142 | 142 | */ |
| 143 | 143 | public function updateStatusAction( |
@@ -193,7 +193,7 @@ discard block |
||
| 193 | 193 | * @Route("/{taskId}/delete",name="task.delete") |
| 194 | 194 | * @Method({"GET"}) |
| 195 | 195 | * |
| 196 | - * @return array |
|
| 196 | + * @return \Symfony\Component\HttpFoundation\RedirectResponse |
|
| 197 | 197 | * @throws TaskNotFoundException |
| 198 | 198 | * @throws TaskCannotBeRemovedException |
| 199 | 199 | */ |
@@ -84,7 +84,7 @@ discard block |
||
| 84 | 84 | |
| 85 | 85 | /** @var Task $task */ |
| 86 | 86 | foreach ($remainingTasks as $task) { |
| 87 | - $output->writeln(' - ' . $task->getName() . ''); |
|
| 87 | + $output->writeln(' - '.$task->getName().''); |
|
| 88 | 88 | } |
| 89 | 89 | |
| 90 | 90 | $output->writeln(''); |
@@ -94,7 +94,7 @@ discard block |
||
| 94 | 94 | $completedTasks = $this->taskQuery->getAllCompletedTasks(); |
| 95 | 95 | |
| 96 | 96 | foreach ($completedTasks as $task) { |
| 97 | - $output->writeln(' - ' . $task->getName()); |
|
| 97 | + $output->writeln(' - '.$task->getName()); |
|
| 98 | 98 | } |
| 99 | 99 | } |
| 100 | 100 | |