Completed
Push — master ( 6b6fbb...d73f48 )
by Andrzej
02:27
created
src/WP/ScriptsAndStyles.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -81,8 +81,8 @@  discard block
 block discarded – undo
81 81
      */
82 82
     public function hospitalRegisterStyle($file)
83 83
     {
84
-        wp_register_style('hospital_admin_style' . $file, $this->path . '/css/' . $file, array(), '1', 'all');
85
-        wp_enqueue_style('hospital_admin_style' . $file);
84
+        wp_register_style('hospital_admin_style'.$file, $this->path.'/css/'.$file, array(), '1', 'all');
85
+        wp_enqueue_style('hospital_admin_style'.$file);
86 86
     }
87 87
 
88 88
     /**
@@ -92,7 +92,7 @@  discard block
 block discarded – undo
92 92
      */
93 93
     public function hospitalRegisterScript($file, $required = null, $hook = null)
94 94
     {
95
-        wp_enqueue_script('hospital_admin_script' . $file, $this->path . '/js/' . $file, $required);
95
+        wp_enqueue_script('hospital_admin_script'.$file, $this->path.'/js/'.$file, $required);
96 96
     }
97 97
 
98 98
     /**
@@ -106,7 +106,7 @@  discard block
 block discarded – undo
106 106
         $params = array(
107 107
             'my_arr' => $json_dates
108 108
         );
109
-        wp_localize_script('hospital_admin_script' . $file, 'php_params', $params);
109
+        wp_localize_script('hospital_admin_script'.$file, 'php_params', $params);
110 110
     }
111 111
 
112 112
     /**
Please login to merge, or discard this patch.