@@ -20,7 +20,7 @@ |
||
| 20 | 20 | * Register myself so that all associated JS and CSS files can be found and automatically included |
| 21 | 21 | * @param $extensions |
| 22 | 22 | * |
| 23 | - * @return array |
|
| 23 | + * @return string[] |
|
| 24 | 24 | */ |
| 25 | 25 | function register_myself( $extensions ) { |
| 26 | 26 | $extensions[] = __FILE__; |
@@ -20,7 +20,7 @@ |
||
| 20 | 20 | * Register myself so that all associated JS and CSS files can be found and automatically included |
| 21 | 21 | * @param $extensions |
| 22 | 22 | * |
| 23 | - * @return array |
|
| 23 | + * @return string[] |
|
| 24 | 24 | */ |
| 25 | 25 | function register_myself( $extensions ) { |
| 26 | 26 | $extensions[] = __FILE__; |
@@ -20,7 +20,7 @@ |
||
| 20 | 20 | * Register myself so that all associated JS and CSS files can be found and automatically included |
| 21 | 21 | * @param $extensions |
| 22 | 22 | * |
| 23 | - * @return array |
|
| 23 | + * @return string[] |
|
| 24 | 24 | */ |
| 25 | 25 | function register_myself( $extensions ) { |
| 26 | 26 | $extensions[] = __FILE__; |
@@ -20,7 +20,7 @@ |
||
| 20 | 20 | * Register myself so that all associated JS and CSS files can be found and automatically included |
| 21 | 21 | * @param $extensions |
| 22 | 22 | * |
| 23 | - * @return array |
|
| 23 | + * @return string[] |
|
| 24 | 24 | */ |
| 25 | 25 | function register_myself( $extensions ) { |
| 26 | 26 | $extensions[] = __FILE__; |
@@ -20,7 +20,7 @@ |
||
| 20 | 20 | * Register myself so that all associated JS and CSS files can be found and automatically included |
| 21 | 21 | * @param $extensions |
| 22 | 22 | * |
| 23 | - * @return array |
|
| 23 | + * @return string[] |
|
| 24 | 24 | */ |
| 25 | 25 | function register_myself( $extensions ) { |
| 26 | 26 | $extensions[] = __FILE__; |
@@ -20,7 +20,7 @@ |
||
| 20 | 20 | * Register myself so that all associated JS and CSS files can be found and automatically included |
| 21 | 21 | * @param $extensions |
| 22 | 22 | * |
| 23 | - * @return array |
|
| 23 | + * @return string[] |
|
| 24 | 24 | */ |
| 25 | 25 | function register_myself( $extensions ) { |
| 26 | 26 | $extensions[] = __FILE__; |
@@ -25,7 +25,7 @@ |
||
| 25 | 25 | |
| 26 | 26 | /** |
| 27 | 27 | * FooGallery_Admin_Gallery_MetaBox_Settings_Helper constructor. |
| 28 | - * @param $gallery FooGallery |
|
| 28 | + * @param FooGallery $gallery FooGallery |
|
| 29 | 29 | */ |
| 30 | 30 | function __construct($gallery) { |
| 31 | 31 | $this->gallery = $gallery; |
@@ -37,6 +37,9 @@ discard block |
||
| 37 | 37 | private static $CNT = 0; |
| 38 | 38 | private static $_HOOKED_FOOTER = false; |
| 39 | 39 | |
| 40 | + /** |
|
| 41 | + * @param string $id |
|
| 42 | + */ |
|
| 40 | 43 | private function __construct( $id, $on = false, $echo = false ) { |
| 41 | 44 | $this->_id = $id; |
| 42 | 45 | |
@@ -142,6 +145,9 @@ discard block |
||
| 142 | 145 | return $this->_file_start; |
| 143 | 146 | } |
| 144 | 147 | |
| 148 | + /** |
|
| 149 | + * @param boolean $wrapper |
|
| 150 | + */ |
|
| 145 | 151 | private function _log( &$message, $type = 'log', $wrapper ) { |
| 146 | 152 | if ( ! $this->is_on() ) { |
| 147 | 153 | return; |
@@ -193,6 +199,9 @@ discard block |
||
| 193 | 199 | } |
| 194 | 200 | } |
| 195 | 201 | |
| 202 | + /** |
|
| 203 | + * @param string $message |
|
| 204 | + */ |
|
| 196 | 205 | function log( $message, $wrapper = false ) { |
| 197 | 206 | $this->_log( $message, 'log', $wrapper ); |
| 198 | 207 | } |
@@ -201,10 +210,16 @@ discard block |
||
| 201 | 210 | $this->_log( $message, 'info', $wrapper ); |
| 202 | 211 | } |
| 203 | 212 | |
| 213 | + /** |
|
| 214 | + * @param string $message |
|
| 215 | + */ |
|
| 204 | 216 | function warn( $message, $wrapper = false ) { |
| 205 | 217 | $this->_log( $message, 'warn', $wrapper ); |
| 206 | 218 | } |
| 207 | 219 | |
| 220 | + /** |
|
| 221 | + * @param string $message |
|
| 222 | + */ |
|
| 208 | 223 | function error( $message, $wrapper = false ) { |
| 209 | 224 | $this->_log( $message, 'error', $wrapper ); |
| 210 | 225 | } |
@@ -16,7 +16,7 @@ |
||
| 16 | 16 | * @author Vova Feldman (@svovaf) |
| 17 | 17 | * @since 1.0.0 |
| 18 | 18 | * |
| 19 | - * @param object $object |
|
| 19 | + * @param FS_Entity $object |
|
| 20 | 20 | * |
| 21 | 21 | * @return array |
| 22 | 22 | */ |