Completed
Push — master ( 24cf5e...bc1ad9 )
by Askupa
02:11
created
functions.php 1 patch
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -18,7 +18,9 @@
 block discarded – undo
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'))
Please login to merge, or discard this patch.
Manager.php 1 patch
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -105,8 +105,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
             }
Please login to merge, or discard this patch.