@@ -16,18 +16,18 @@ discard block |
||
| 16 | 16 | */ |
| 17 | 17 | protected static $instance; |
| 18 | 18 | |
| 19 | - /** |
|
| 20 | - * The container's bound services. |
|
| 21 | - * |
|
| 22 | - * @var array |
|
| 23 | - */ |
|
| 19 | + /** |
|
| 20 | + * The container's bound services. |
|
| 21 | + * |
|
| 22 | + * @var array |
|
| 23 | + */ |
|
| 24 | 24 | protected $services = []; |
| 25 | 25 | |
| 26 | - /** |
|
| 27 | - * The container's bucket items |
|
| 28 | - * |
|
| 29 | - * @var array |
|
| 30 | - */ |
|
| 26 | + /** |
|
| 27 | + * The container's bucket items |
|
| 28 | + * |
|
| 29 | + * @var array |
|
| 30 | + */ |
|
| 31 | 31 | protected $bucket = []; |
| 32 | 32 | |
| 33 | 33 | /** |
@@ -123,10 +123,10 @@ discard block |
||
| 123 | 123 | } |
| 124 | 124 | |
| 125 | 125 | /** |
| 126 | - * Register a Provider. |
|
| 127 | - * |
|
| 128 | - * @return void |
|
| 129 | - */ |
|
| 126 | + * Register a Provider. |
|
| 127 | + * |
|
| 128 | + * @return void |
|
| 129 | + */ |
|
| 130 | 130 | public function register( $provider ) |
| 131 | 131 | { |
| 132 | 132 | $provider->register( $this ); |
@@ -62,7 +62,7 @@ |
||
| 62 | 62 | |
| 63 | 63 | /** |
| 64 | 64 | * @param string $key |
| 65 | - * @param mixed $fallback |
|
| 65 | + * @param string $fallback |
|
| 66 | 66 | * @param string $group |
| 67 | 67 | * @return string|array |
| 68 | 68 | */ |
@@ -154,6 +154,7 @@ |
||
| 154 | 154 | } |
| 155 | 155 | |
| 156 | 156 | /** |
| 157 | + * @param integer $imageId |
|
| 157 | 158 | * @return void |
| 158 | 159 | * @callback add_meta_box |
| 159 | 160 | */ |
@@ -61,8 +61,6 @@ discard block |
||
| 61 | 61 | |
| 62 | 62 | /** |
| 63 | 63 | * @param string $title |
| 64 | - * @param string $url |
|
| 65 | - * @param string $attributes |
|
| 66 | 64 | * @return string |
| 67 | 65 | */ |
| 68 | 66 | public function button( $title, array $atts = [] ) |
@@ -79,7 +77,7 @@ discard block |
||
| 79 | 77 | } |
| 80 | 78 | |
| 81 | 79 | /** |
| 82 | - * @return void |
|
| 80 | + * @return string |
|
| 83 | 81 | */ |
| 84 | 82 | public function generate( array $notice, $unset = true ) |
| 85 | 83 | { |
@@ -143,6 +143,7 @@ discard block |
||
| 143 | 143 | } |
| 144 | 144 | |
| 145 | 145 | /** |
| 146 | + * @param string $plugin |
|
| 146 | 147 | * @return bool |
| 147 | 148 | */ |
| 148 | 149 | public function hasDependency( $plugin ) |
@@ -304,7 +305,7 @@ discard block |
||
| 304 | 305 | |
| 305 | 306 | /** |
| 306 | 307 | * @param string $error |
| 307 | - * @param bool $bool |
|
| 308 | + * @param boolean $isValid |
|
| 308 | 309 | * @return bool |
| 309 | 310 | */ |
| 310 | 311 | protected function catchError( $plugin, $error, $isValid ) |
@@ -403,6 +404,7 @@ discard block |
||
| 403 | 404 | } |
| 404 | 405 | |
| 405 | 406 | /** |
| 407 | + * @param string $key |
|
| 406 | 408 | * @return array|string |
| 407 | 409 | */ |
| 408 | 410 | protected function getPluginRequirements( $plugin, $key = null ) |