@@ -51,6 +51,9 @@ |
||
| 51 | 51 | return $this->composerLoader; |
| 52 | 52 | } |
| 53 | 53 | |
| 54 | + /** |
|
| 55 | + * @param string $configKey |
|
| 56 | + */ |
|
| 54 | 57 | public function getConfig($configKey) |
| 55 | 58 | { |
| 56 | 59 | return $this->config->getConfig($configKey); |
@@ -15,6 +15,9 @@ |
||
| 15 | 15 | $this->formId = $formId; |
| 16 | 16 | } |
| 17 | 17 | |
| 18 | + /** |
|
| 19 | + * @param stdClass $saveInfos |
|
| 20 | + */ |
|
| 18 | 21 | protected function saveToken($saveInfos) |
| 19 | 22 | { |
| 20 | 23 | //Default to session |
@@ -28,6 +28,9 @@ discard block |
||
| 28 | 28 | $this->status->load = true; |
| 29 | 29 | } |
| 30 | 30 | |
| 31 | + /** |
|
| 32 | + * @param string $pathName |
|
| 33 | + */ |
|
| 31 | 34 | public static function installInfos($pathName) |
| 32 | 35 | { |
| 33 | 36 | $this->loadModulesInstallInfos(); |
@@ -94,6 +97,9 @@ discard block |
||
| 94 | 97 | ); |
| 95 | 98 | } |
| 96 | 99 | |
| 100 | + /** |
|
| 101 | + * @param string $jsonFilePath |
|
| 102 | + */ |
|
| 97 | 103 | protected function loadJsonFile($jsonFilePath) |
| 98 | 104 | { |
| 99 | 105 | if(!file_exists($jsonFilePath)) { |
@@ -133,7 +133,7 @@ |
||
| 133 | 133 | * Permet de rediriger une page |
| 134 | 134 | * |
| 135 | 135 | * @param string $page : la page vers laquelle rediriger |
| 136 | - * @param bool $permaet : If it's a permanent redirection for this url or not |
|
| 136 | + * @param bool $permanent : If it's a permanent redirection for this url or not |
|
| 137 | 137 | */ |
| 138 | 138 | function redirection($page, $permanent=false) |
| 139 | 139 | { |
@@ -36,7 +36,7 @@ |
||
| 36 | 36 | * |
| 37 | 37 | * @throws \Exception Erreur dsans les paramètres donnée à la méthode |
| 38 | 38 | * |
| 39 | - * @return boolean|null |
|
| 39 | + * @return boolean |
|
| 40 | 40 | */ |
| 41 | 41 | public function majExpire($key, $expire) |
| 42 | 42 | { |
@@ -150,7 +150,7 @@ |
||
| 150 | 150 | $keywords->search, |
| 151 | 151 | $keywords->replace, |
| 152 | 152 | strtolower($match[3]) |
| 153 | - ); |
|
| 153 | + ); |
|
| 154 | 154 | |
| 155 | 155 | $dateDepart = clone $this; |
| 156 | 156 | parent::modify($match[1].$match[2].' '.$keyword); |