Completed
Push — master ( 8e8c73...5abcb1 )
by Askupa
02:30
created
bootstrap.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -11,13 +11,13 @@  discard block
 block discarded – undo
11 11
  * @link      https://github.com/askupasoftware/amarkal-taxonomy
12 12
  * @copyright 2017 Askupa Software
13 13
  */
14
-defined( 'ABSPATH' ) or die( 'No script kiddies please!' );
14
+defined('ABSPATH') or die('No script kiddies please!');
15 15
 
16 16
 /**
17 17
  * Prevent loading the library more than once
18 18
  */
19
-if( defined( 'AMARKAL_TAXONOMY' ) ) return;
20
-define( 'AMARKAL_TAXONOMY', true );
19
+if (defined('AMARKAL_TAXONOMY')) return;
20
+define('AMARKAL_TAXONOMY', true);
21 21
 
22 22
 /**
23 23
  * Load required classes
@@ -26,7 +26,7 @@  discard block
 block discarded – undo
26 26
 require_once 'add-field.php';
27 27
 require_once 'edit-field.php';
28 28
 
29
-if(!function_exists('amarkal_taxonomy_add_field'))
29
+if (!function_exists('amarkal_taxonomy_add_field'))
30 30
 {
31 31
     /**
32 32
      * Add a field to the add & edit forms of a given taxonomy.
@@ -36,9 +36,9 @@  discard block
 block discarded – undo
36 36
      * amarkal-ui components or a registered custom component.
37 37
      * @param array $field_props The field's properties
38 38
      */
39
-    function amarkal_taxonomy_add_field( $taxonomy_name, $field_name, $field_props )
39
+    function amarkal_taxonomy_add_field($taxonomy_name, $field_name, $field_props)
40 40
     {
41 41
         $form = Amarkal\Taxonomy\Form::get_instance();
42
-        $form->add_field( $taxonomy_name, $field_name, $field_props );
42
+        $form->add_field($taxonomy_name, $field_name, $field_props);
43 43
     }
44 44
 }
45 45
\ No newline at end of file
Please login to merge, or discard this patch.