@@ -18,7 +18,9 @@ |
||
| 18 | 18 | /** |
| 19 | 19 | * Prevent loading the library more than once |
| 20 | 20 | */ |
| 21 | -if( defined( 'AMARKAL_TAXONOMY' ) ) return false; |
|
| 21 | +if( defined( 'AMARKAL_TAXONOMY' ) ) { |
|
| 22 | + return false; |
|
| 23 | +} |
|
| 22 | 24 | define( 'AMARKAL_TAXONOMY', true ); |
| 23 | 25 | |
| 24 | 26 | if(!function_exists('amarkal_taxonomy_add_field')) |
@@ -232,7 +232,7 @@ |
||
| 232 | 232 | /** |
| 233 | 233 | * Treverse the $fields array. |
| 234 | 234 | * |
| 235 | - * @param collable $callback Called on each iteration |
|
| 235 | + * @param \Closure $callback Called on each iteration |
|
| 236 | 236 | */ |
| 237 | 237 | private function traverse_components( $callback ) |
| 238 | 238 | { |