Completed
Push — componentlibrary ( ae84b5...42e687 )
by
unknown
01:25
created
Components/BlockVideoOembed/functions.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -5,8 +5,8 @@
 block discarded – undo
5 5
 use Flynt\Features\Components\Component;
6 6
 use Flynt\Utils\Oembed;
7 7
 
8
-add_filter('Flynt/addComponentData?name=BlockVideoOembed', function ($data) {
9
-    add_action('wp_enqueue_scripts', function () {
8
+add_filter('Flynt/addComponentData?name=BlockVideoOembed', function($data) {
9
+    add_action('wp_enqueue_scripts', function() {
10 10
         Component::enqueueAssets('BlockVideoOembed');
11 11
     });
12 12
 
Please login to merge, or discard this patch.
Components/DocumentDefault/functions.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -6,7 +6,7 @@  discard block
 block discarded – undo
6 6
 use Flynt\Features\Components\Component;
7 7
 use Flynt\Utils\Asset;
8 8
 
9
-add_action('wp_enqueue_scripts', function () {
9
+add_action('wp_enqueue_scripts', function() {
10 10
     Component::enqueueAssets('DocumentDefault', [
11 11
     [
12 12
       'name' => 'console-polyfill',
@@ -37,7 +37,7 @@  discard block
 block discarded – undo
37 37
     ]);
38 38
 }, 0);
39 39
 
40
-add_filter('Flynt/addComponentData?name=DocumentDefault', function ($data) {
40
+add_filter('Flynt/addComponentData?name=DocumentDefault', function($data) {
41 41
     $context = Timber::get_context();
42 42
 
43 43
     $output = [
Please login to merge, or discard this patch.