Completed
Push — master ( 9717c1...83cd1f )
by Doğa
17s queued 11s
created
lib/Defaults.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -39,7 +39,7 @@
 block discarded – undo
39 39
             return '';
40 40
         }
41 41
 
42
-        $data = function () use ($componentData) {
42
+        $data = function() use ($componentData) {
43 43
             $args = func_get_args();
44 44
             array_unshift($args, $componentData);
45 45
             return Helpers::extractNestedDataFromArray($args);
Please login to merge, or discard this patch.
lib/Init.php 2 patches
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -70,9 +70,9 @@
 block discarded – undo
70 70
         $pluginUrl = esc_url(admin_url('plugins.php'));
71 71
         $message = ["${pluginName} Plugin not activated. Make sure you activate the plugin on the <a href=\"${pluginUrl}\">plugin page</a>."];
72 72
         $options = [
73
-          'type' => 'error',
74
-          'title' => 'Flynt is missing a required plugin',
75
-          'dismissible' => false,
73
+            'type' => 'error',
74
+            'title' => 'Flynt is missing a required plugin',
75
+            'dismissible' => false,
76 76
         ];
77 77
 
78 78
         $manager->addNotice($message, $options);
Please login to merge, or discard this patch.
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@  discard block
 block discarded – undo
32 32
 
33 33
     public static function setTemplateDirectory()
34 34
     {
35
-        add_action('after_switch_theme', function () {
35
+        add_action('after_switch_theme', function() {
36 36
             $stylesheet = get_option('stylesheet');
37 37
 
38 38
             if (basename($stylesheet) !== 'templates') {
@@ -40,7 +40,7 @@  discard block
 block discarded – undo
40 40
             }
41 41
         });
42 42
 
43
-        add_filter('stylesheet', function ($stylesheet) {
43
+        add_filter('stylesheet', function($stylesheet) {
44 44
             return dirname($stylesheet);
45 45
         });
46 46
     }
@@ -51,7 +51,7 @@  discard block
 block discarded – undo
51 51
 
52 52
         if (!$acfActive) {
53 53
             self::notifyRequiredPluginIsMissing('ACF');
54
-            add_filter('template_include', function () {
54
+            add_filter('template_include', function() {
55 55
                 die(
56 56
                     'One or more required plugins are not activated! Please <a href="'
57 57
                     . esc_url(admin_url('plugins.php'))
Please login to merge, or discard this patch.