@@ -18,7 +18,9 @@ |
||
18 | 18 | /** |
19 | 19 | * Prevent loading the library more than once |
20 | 20 | */ |
21 | -if( defined( 'AMARKAL_SETTINGS' ) ) return false; |
|
21 | +if( defined( 'AMARKAL_SETTINGS' ) ) { |
|
22 | + return false; |
|
23 | +} |
|
22 | 24 | define( 'AMARKAL_SETTINGS', true ); |
23 | 25 | |
24 | 26 | if(!function_exists('amarkal_add_settings_page')) |
@@ -56,7 +56,6 @@ |
||
56 | 56 | /** |
57 | 57 | * Get the value of the given settings field |
58 | 58 | * |
59 | - * @param [array] $args |
|
60 | 59 | * @return void |
61 | 60 | */ |
62 | 61 | function amarkal_get_settings_value( $slug, $field_name ) |
@@ -50,7 +50,6 @@ |
||
50 | 50 | * Get a settings page from the list of registered settings pages. |
51 | 51 | * |
52 | 52 | * @param string $slug |
53 | - * @param string $parent_slug |
|
54 | 53 | * @return SettingsPage |
55 | 54 | * @throws \RuntimeException If no settings page was found for the given slug/parent_slug |
56 | 55 | */ |