@@ -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 | { |
@@ -266,7 +266,7 @@ |
||
266 | 266 | * |
267 | 267 | * @param array $orig_size |
268 | 268 | * @param array $dest_size |
269 | - * @param $dest_file_name |
|
269 | + * @param string $dest_file_name |
|
270 | 270 | * @return string |
271 | 271 | */ |
272 | 272 | private function resize_image($orig_size, $dest_size, $dest_file_name) |
@@ -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 | { |
@@ -34,7 +34,7 @@ discard block |
||
34 | 34 | * |
35 | 35 | * @param $slide_id |
36 | 36 | * @param $slider_id |
37 | - * @return array complete array of slides |
|
37 | + * @return string complete array of slides |
|
38 | 38 | */ |
39 | 39 | public function get_slide($slide_id, $slider_id) |
40 | 40 | { |
@@ -77,7 +77,7 @@ discard block |
||
77 | 77 | } |
78 | 78 | |
79 | 79 | /** |
80 | - * @param $slider_id |
|
80 | + * @param integer $slider_id |
|
81 | 81 | * @param $slide_id |
82 | 82 | * @return |
83 | 83 | */ |
@@ -87,7 +87,7 @@ discard block |
||
87 | 87 | } |
88 | 88 | |
89 | 89 | /** |
90 | - * @param $slider_id |
|
90 | + * @param integer $slider_id |
|
91 | 91 | * @param $slide_id |
92 | 92 | * @return bool |
93 | 93 | */ |
@@ -123,7 +123,7 @@ discard block |
||
123 | 123 | * Build image HTML |
124 | 124 | * |
125 | 125 | * @param array $attributes |
126 | - * @param $content |
|
126 | + * @param string $content |
|
127 | 127 | * @return string image HTML |
128 | 128 | */ |
129 | 129 | public function build_anchor_tag($attributes, $content) |
@@ -208,7 +208,7 @@ discard block |
||
208 | 208 | * If the meta exists, but the value is empty, delete it |
209 | 209 | * If the meta exists, update it |
210 | 210 | * @param $post_id |
211 | - * @param $name |
|
211 | + * @param string $name |
|
212 | 212 | * @param $value |
213 | 213 | */ |
214 | 214 | public function add_or_update_or_delete_meta($post_id, $name, $value) |
@@ -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 | { |
@@ -14,7 +14,7 @@ |
||
14 | 14 | * and if so, the name to use for the setting in the Javascript parameters |
15 | 15 | * |
16 | 16 | * @param $param |
17 | - * @return false or parameter name (parameter supported) |
|
17 | + * @return string|false or parameter name (parameter supported) |
|
18 | 18 | */ |
19 | 19 | protected function get_param($param) |
20 | 20 | { |