@@ -40,14 +40,14 @@ |
||
40 | 40 | public $error = ''; |
41 | 41 | |
42 | 42 | /** |
43 | - * @var array<string,string> Authentication parameters, including cookie name and value |
|
44 | - */ |
|
43 | + * @var array<string,string> Authentication parameters, including cookie name and value |
|
44 | + */ |
|
45 | 45 | private $params = []; |
46 | 46 | |
47 | 47 | /** |
48 | - * Check if the provided cookie in params is valid. |
|
49 | - * @return bool True if a valid cookie is found in params, false otherwise. |
|
50 | - */ |
|
48 | + * Check if the provided cookie in params is valid. |
|
49 | + * @return bool True if a valid cookie is found in params, false otherwise. |
|
50 | + */ |
|
51 | 51 | private function isCookieValid() |
52 | 52 | { |
53 | 53 | return !empty($this->getCookieFromParams()); |
@@ -153,7 +153,6 @@ |
||
153 | 153 | * @param string $morecss More CSS |
154 | 154 | * @param string $morefilter More filters (Must be a sql sanitized string) |
155 | 155 | * @return int|string|array<array{key:int,value:string,ref:string,labelx:string,label:string,disabled:bool}> HTML string or array of option or <0 if KO |
156 | - |
|
157 | 156 | */ |
158 | 157 | public function select_projects_list($socid = -1, $selected = 0, $htmlname = 'projectid', $maxlength = 24, $option_only = 0, $show_empty = 1, $discard_closed = 0, $forcefocus = 0, $disabled = 0, $mode = 0, $filterkey = '', $nooutput = 0, $forceaddid = 0, $htmlid = '', $morecss = 'maxwidth500', $morefilter = '') |
159 | 158 | { |