@@ -57,7 +57,7 @@ |
||
| 57 | 57 | * Update the compiled CSS for the given handle. |
| 58 | 58 | * |
| 59 | 59 | * @param string $handle The handle of the stylesheet |
| 60 | - * @param type $compiled_css |
|
| 60 | + * @param string $compiled_css |
|
| 61 | 61 | */ |
| 62 | 62 | public function update( $handle, $compiled_css ) |
| 63 | 63 | { |
@@ -141,7 +141,7 @@ discard block |
||
| 141 | 141 | /** |
| 142 | 142 | * Register a value retrieval function and associate it with the given handle |
| 143 | 143 | * |
| 144 | - * @param type $handle The stylesheet's name/id |
|
| 144 | + * @param string $handle The stylesheet's name/id |
|
| 145 | 145 | * @param type $callback |
| 146 | 146 | */ |
| 147 | 147 | public function register_callback( $handle, $callback ) |
@@ -151,6 +151,9 @@ discard block |
||
| 151 | 151 | |
| 152 | 152 | /** |
| 153 | 153 | * Register a filter function for a given stylesheet handle. |
| 154 | + * @param string $handle |
|
| 155 | + * @param string $filter_name |
|
| 156 | + * @param callable $callback |
|
| 154 | 157 | */ |
| 155 | 158 | public function register_filter( $handle, $filter_name, $callback ) |
| 156 | 159 | { |
@@ -205,10 +205,10 @@ |
||
| 205 | 205 | protected function add_meta_info( $compiled_css ) |
| 206 | 206 | { |
| 207 | 207 | return "/**\n". |
| 208 | - " * Compiled using wp-dynamic-css\n". |
|
| 209 | - " * https://github.com/askupasoftware/wp-dynamic-css\n". |
|
| 210 | - " */\n\n". |
|
| 211 | - $compiled_css; |
|
| 208 | + " * Compiled using wp-dynamic-css\n". |
|
| 209 | + " * https://github.com/askupasoftware/wp-dynamic-css\n". |
|
| 210 | + " */\n\n". |
|
| 211 | + $compiled_css; |
|
| 212 | 212 | } |
| 213 | 213 | |
| 214 | 214 | /** |