@@ -56,7 +56,6 @@ |
||
| 56 | 56 | /** |
| 57 | 57 | * Get the value of the given settings |
| 58 | 58 | * |
| 59 | - * @param [array] $args |
|
| 60 | 59 | * @return void |
| 61 | 60 | */ |
| 62 | 61 | function amarkal_get_settings_value( $field_name ) |
@@ -105,8 +105,7 @@ discard block |
||
| 105 | 105 | try |
| 106 | 106 | { |
| 107 | 107 | return $this->get_field_value_for_parent($parent_slug, $field_name); |
| 108 | - } |
|
| 109 | - catch(\RuntimeException $e) |
|
| 108 | + } catch(\RuntimeException $e) |
|
| 110 | 109 | { |
| 111 | 110 | continue; |
| 112 | 111 | } |
@@ -132,8 +131,7 @@ discard block |
||
| 132 | 131 | $component = $cp->get_component($field_name); |
| 133 | 132 | $value = \get_option($field_name, $component->default); |
| 134 | 133 | return $value; |
| 135 | - } |
|
| 136 | - catch(\RuntimeException $e) |
|
| 134 | + } catch(\RuntimeException $e) |
|
| 137 | 135 | { |
| 138 | 136 | continue; |
| 139 | 137 | } |