| @@ -103,7 +103,7 @@ | ||
| 103 | 103 | // Return -1 if v1 is lower than v2, 1 if v1 is greater than v2 | 
| 104 | 104 | // and 0 if equals | 
| 105 | 105 | /** | 
| 106 | - * @param $v1 | |
| 106 | + * @param string $v1 | |
| 107 | 107 | * @param $v2 | 
| 108 | 108 | * | 
| 109 | 109 | * @return int | 
| @@ -71,7 +71,7 @@ | ||
| 71 | 71 | |
| 72 | 72 | /** | 
| 73 | 73 | * @param $text | 
| 74 | - * @return mixed|string | |
| 74 | + * @return string | |
| 75 | 75 | */ | 
| 76 | 76 | public function parse($text) | 
| 77 | 77 |      { | 
| @@ -152,7 +152,7 @@ | ||
| 152 | 152 | /** | 
| 153 | 153 | * Print a warning message to the screen | 
| 154 | 154 | * @param $message | 
| 155 | - * @param $key | |
| 155 | + * @param string $key | |
| 156 | 156 | */ | 
| 157 | 157 | private function printMessage($message, $key) | 
| 158 | 158 |      { | 
| @@ -30,7 +30,7 @@ | ||
| 30 | 30 | /** | 
| 31 | 31 | * Return the unique identifier for the slider (used to avoid javascript conflicts) | 
| 32 | 32 | * | 
| 33 | - * @return string unique identifier for slider | |
| 33 | + * @return integer unique identifier for slider | |
| 34 | 34 | */ | 
| 35 | 35 | protected function get_identifier() | 
| 36 | 36 |      { | 
| @@ -14,7 +14,7 @@ | ||
| 14 | 14 | * Enable the parameters that are accepted by the slider | 
| 15 | 15 | * | 
| 16 | 16 | * @param $param | 
| 17 | - * @return array enabled parameters | |
| 17 | + * @return string|false enabled parameters | |
| 18 | 18 | */ | 
| 19 | 19 | protected function get_param($param) | 
| 20 | 20 |      { | 
| @@ -120,7 +120,7 @@ | ||
| 120 | 120 | * Enable the parameters that are accepted by the slider | 
| 121 | 121 | * | 
| 122 | 122 | * @param string $param | 
| 123 | - * @return array|boolean enabled parameters (false if parameter doesn't exist) | |
| 123 | + * @return string|false enabled parameters (false if parameter doesn't exist) | |
| 124 | 124 | */ | 
| 125 | 125 | protected function get_param($param) | 
| 126 | 126 |      { | 
| @@ -53,7 +53,7 @@ | ||
| 53 | 53 | * and if so, the name to use for the setting in the Javascript parameters | 
| 54 | 54 | * | 
| 55 | 55 | * @param $param | 
| 56 | - * @return false or parameter name (parameter supported) | |
| 56 | + * @return string|false or parameter name (parameter supported) | |
| 57 | 57 | */ | 
| 58 | 58 | protected function get_param($param) | 
| 59 | 59 |      { | 
| @@ -53,7 +53,7 @@ | ||
| 53 | 53 | * and if so, the name to use for the setting in the Javascript parameters | 
| 54 | 54 | * | 
| 55 | 55 | * @param $param | 
| 56 | - * @return false or parameter name (parameter supported) | |
| 56 | + * @return string|false or parameter name (parameter supported) | |
| 57 | 57 | */ | 
| 58 | 58 | protected function get_param($param) | 
| 59 | 59 |      { | 
| @@ -540,7 +540,7 @@ | ||
| 540 | 540 | * published sliders. | 
| 541 | 541 | * | 
| 542 | 542 | * @param string $sort_key | 
| 543 | - * @return array all published sliders | |
| 543 | + * @return boolean all published sliders | |
| 544 | 544 | */ | 
| 545 | 545 | private function all_meta_sliders($sort_key = 'date') | 
| 546 | 546 |      { |