Completed
Push — componentlibrary ( 203fcf...18333e )
by
unknown
01:51
created
lib/Defaults.php 2 patches
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@
 block discarded – undo
27 27
         return $output;
28 28
     }
29 29
 
30
-  // this action needs to be removed by the user if they want to overwrite this functionality
30
+    // this action needs to be removed by the user if they want to overwrite this functionality
31 31
     public static function loadFunctionsFile($componentName)
32 32
     {
33 33
         $componentManager = ComponentManager::getInstance();
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -48,13 +48,13 @@
 block discarded – undo
48 48
             return '';
49 49
         }
50 50
 
51
-        $area = function ($areaName) use ($areaHtml) {
51
+        $area = function($areaName) use ($areaHtml) {
52 52
             if (array_key_exists($areaName, $areaHtml)) {
53 53
                 return $areaHtml[$areaName];
54 54
             }
55 55
         };
56 56
 
57
-        $data = function () use ($componentData) {
57
+        $data = function() use ($componentData) {
58 58
             $args = func_get_args();
59 59
             array_unshift($args, $componentData);
60 60
             return Helpers::extractNestedDataFromArray($args);
Please login to merge, or discard this patch.
lib/api.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -78,7 +78,7 @@  discard block
 block discarded – undo
78 78
 
79 79
 function registerHooks()
80 80
 {
81
-    add_filter('Flynt/renderComponent', function ($output, $componentName, $data) {
81
+    add_filter('Flynt/renderComponent', function($output, $componentName, $data) {
82 82
         return apply_filters(
83 83
             "Flynt/renderComponent?name={$componentName}",
84 84
             $output,
@@ -87,7 +87,7 @@  discard block
 block discarded – undo
87 87
         );
88 88
     }, 10, 3);
89 89
 
90
-    add_filter('Flynt/addComponentData', function ($data, $componentName) {
90
+    add_filter('Flynt/addComponentData', function($data, $componentName) {
91 91
         return apply_filters(
92 92
             "Flynt/addComponentData?name={$componentName}",
93 93
             $data,
Please login to merge, or discard this patch.