@@ -20,6 +20,6 @@ |
||
20 | 20 | Logger::DEBUG |
21 | 21 | ] |
22 | 22 | ] |
23 | - */ |
|
23 | + */ |
|
24 | 24 | ] |
25 | 25 | ]; |
@@ -180,7 +180,7 @@ |
||
180 | 180 | * |
181 | 181 | * @param array $options Options passed to application |
182 | 182 | * |
183 | - * @return void |
|
183 | + * @return Application |
|
184 | 184 | */ |
185 | 185 | public function initSystems(array $options) |
186 | 186 | { |
@@ -445,7 +445,7 @@ discard block |
||
445 | 445 | /** |
446 | 446 | * Format date to human readable when the date is now |
447 | 447 | * |
448 | - * @param object $parsedTxt Texts returned by humanReadable method |
|
448 | + * @param anonymous//src/Dates.php$0 $parsedTxt Texts returned by humanReadable method |
|
449 | 449 | * |
450 | 450 | * @return void |
451 | 451 | */ |
@@ -458,7 +458,7 @@ discard block |
||
458 | 458 | /** |
459 | 459 | * Format date to human readable when date is today |
460 | 460 | * |
461 | - * @param object $parsedTxt Texts returned by humanReadable method |
|
461 | + * @param anonymous//src/Dates.php$0 $parsedTxt Texts returned by humanReadable method |
|
462 | 462 | * @param \DateInterval $diff Interval between now and date to read |
463 | 463 | * |
464 | 464 | * @return void |
@@ -485,7 +485,7 @@ discard block |
||
485 | 485 | /** |
486 | 486 | * Format date to human readable when date is yesterday |
487 | 487 | * |
488 | - * @param object $parsedTxt Texts returned by humanReadable method |
|
488 | + * @param anonymous//src/Dates.php$0 $parsedTxt Texts returned by humanReadable method |
|
489 | 489 | * |
490 | 490 | * @return void |
491 | 491 | */ |
@@ -503,7 +503,7 @@ discard block |
||
503 | 503 | /** |
504 | 504 | * Format date to human readable when date is tomorrow |
505 | 505 | * |
506 | - * @param object $parsedTxt Texts returned by humanReadable method |
|
506 | + * @param anonymous//src/Dates.php$0 $parsedTxt Texts returned by humanReadable method |
|
507 | 507 | * |
508 | 508 | * @return void |
509 | 509 | */ |
@@ -521,7 +521,7 @@ discard block |
||
521 | 521 | /** |
522 | 522 | * Format date to human readable when date is not now, today or yesterday |
523 | 523 | * |
524 | - * @param object $parsedTxt Texts returned by humanReadable method |
|
524 | + * @param anonymous//src/Dates.php$0 $parsedTxt Texts returned by humanReadable method |
|
525 | 525 | * @param \DateTime $current DateTime object for now |
526 | 526 | * |
527 | 527 | * @return void |
@@ -60,7 +60,7 @@ discard block |
||
60 | 60 | /** |
61 | 61 | * Save the form's token |
62 | 62 | * |
63 | - * @param object $saveInfos Infos about token (id and expire time) |
|
63 | + * @param anonymous//src/Form.php$0 $saveInfos Infos about token (id and expire time) |
|
64 | 64 | * |
65 | 65 | * @return void |
66 | 66 | */ |
@@ -136,6 +136,9 @@ discard block |
||
136 | 136 | protected $token; |
137 | 137 | protected $date; |
138 | 138 | |
139 | + /** |
|
140 | + * @param string $token |
|
141 | + */ |
|
139 | 142 | public function __construct($token) |
140 | 143 | { |
141 | 144 | $this->token = $token; |
@@ -72,7 +72,7 @@ |
||
72 | 72 | /** |
73 | 73 | * Securise a variable |
74 | 74 | * |
75 | - * @param mixed $data The variable to securise |
|
75 | + * @param string $data The variable to securise |
|
76 | 76 | * @param string $type The type of datas |
77 | 77 | * @param boolean $htmlentities If use htmlentities function |
78 | 78 | * to a better security |
@@ -153,7 +153,7 @@ |
||
153 | 153 | /** |
154 | 154 | * Get accessor to the install script file or list |
155 | 155 | * |
156 | - * @return string|array |
|
156 | + * @return string|boolean |
|
157 | 157 | */ |
158 | 158 | public function getSourceInstallScript() |
159 | 159 | { |
@@ -521,7 +521,7 @@ |
||
521 | 521 | */ |
522 | 522 | protected function removeRecursiveDirectory(string $dirPath): bool |
523 | 523 | { |
524 | - $fileList = array_diff(scandir($dirPath), ['.','..']); |
|
524 | + $fileList = array_diff(scandir($dirPath), ['.', '..']); |
|
525 | 525 | |
526 | 526 | foreach ($fileList as $filePath) { |
527 | 527 | if (is_dir($filePath)) { |
@@ -53,7 +53,7 @@ discard block |
||
53 | 53 | * Add a new run step to the list |
54 | 54 | * |
55 | 55 | * @param string $name The name of the new run step |
56 | - * @param object $runStepsToAdd The run step to add |
|
56 | + * @param anonymous//src/RunTasks.php$0 $runStepsToAdd The run step to add |
|
57 | 57 | * |
58 | 58 | * @return $this |
59 | 59 | */ |
@@ -154,7 +154,7 @@ discard block |
||
154 | 154 | * @param callable|null $callback The callback to call when |
155 | 155 | * the task is runned |
156 | 156 | * |
157 | - * @return object |
|
157 | + * @return anonymous//src/RunTasks.php@return object |
|
158 | 158 | */ |
159 | 159 | public static function generateStepItem($context = null, $callback = null) |
160 | 160 | { |
@@ -162,6 +162,9 @@ discard block |
||
162 | 162 | public $context; |
163 | 163 | public $callback; |
164 | 164 | |
165 | + /** |
|
166 | + * @param callable|null $callback |
|
167 | + */ |
|
165 | 168 | public function __construct($context, $callback) |
166 | 169 | { |
167 | 170 | $this->context = $context; |
@@ -178,6 +178,9 @@ |
||
178 | 178 | public $action; |
179 | 179 | public $context; |
180 | 180 | |
181 | + /** |
|
182 | + * @param string $action |
|
183 | + */ |
|
181 | 184 | public function __construct($action, $context) { |
182 | 185 | $this->action = $action; |
183 | 186 | $this->context = $context; |
@@ -199,7 +199,7 @@ |
||
199 | 199 | * End "en" (preference 0.4/1) |
200 | 200 | **/ |
201 | 201 | |
202 | - $acceptLanguage = $this->serverValue('HTTP_ACCEPT_LANGUAGE'); |
|
202 | + $acceptLanguage = $this->serverValue('HTTP_ACCEPT_LANGUAGE'); |
|
203 | 203 | if (empty($acceptLanguage)) { |
204 | 204 | $this->lang = ''; |
205 | 205 | return; |