Completed
Push — master ( 3ff8b1...e35655 )
by Doğa
10:14
created
Features/TimberLoader/functions.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -35,9 +35,9 @@  discard block
 block discarded – undo
35 35
         return $output;
36 36
     }
37 37
 
38
-    $addArea = function ($twig) use ($areaHtml) {
38
+    $addArea = function($twig) use ($areaHtml) {
39 39
 
40
-        $twig->addFunction(new Twig_SimpleFunction('area', function ($areaName) use ($areaHtml) {
40
+        $twig->addFunction(new Twig_SimpleFunction('area', function($areaName) use ($areaHtml) {
41 41
             if (array_key_exists($areaName, $areaHtml)) {
42 42
                 return $areaHtml[$areaName];
43 43
             }
@@ -48,7 +48,7 @@  discard block
 block discarded – undo
48 48
 
49 49
     add_filter('get_twig', $addArea);
50 50
 
51
-    $returnTimberPaths = function ($paths) use ($filePath) {
51
+    $returnTimberPaths = function($paths) use ($filePath) {
52 52
         array_unshift($paths, dirname($filePath));
53 53
         return $paths;
54 54
     };
@@ -75,7 +75,7 @@  discard block
 block discarded – undo
75 75
 function formatGallery($value)
76 76
 {
77 77
     if (!empty($value)) {
78
-        $value = array_map(function ($image) {
78
+        $value = array_map(function($image) {
79 79
             return new Image($image);
80 80
         }, $value);
81 81
     }
Please login to merge, or discard this patch.
Features/Lodash/functions.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -4,7 +4,7 @@
 block discarded – undo
4 4
 
5 5
 use Flynt\Utils\Asset;
6 6
 
7
-add_action('wp_enqueue_scripts', function () {
7
+add_action('wp_enqueue_scripts', function() {
8 8
     Asset::register([
9 9
         'type' => 'script',
10 10
         'name' => 'Flynt/Features/Lodash',
Please login to merge, or discard this patch.