Completed
Pull Request — develop (#294)
by Dominik
03:31 queued 01:46
created
Components/DocumentDefault/functions.php 1 patch
Spacing   +3 added lines, -3 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
     Asset::register([
11 11
         'type' => 'script',
12 12
         'name' => 'jquery-flynt',
@@ -14,7 +14,7 @@  discard block
 block discarded – undo
14 14
     ]);
15 15
 }, -1);
16 16
 
17
-add_action('wp_enqueue_scripts', function () {
17
+add_action('wp_enqueue_scripts', function() {
18 18
     Component::enqueueAssets('DocumentDefault', [
19 19
     [
20 20
       'name' => 'console-polyfill',
@@ -44,7 +44,7 @@  discard block
 block discarded – undo
44 44
     ]);
45 45
 }, 0);
46 46
 
47
-add_filter('Flynt/addComponentData?name=DocumentDefault', function ($data) {
47
+add_filter('Flynt/addComponentData?name=DocumentDefault', function($data) {
48 48
     $context = Timber::get_context();
49 49
 
50 50
     $output = [
Please login to merge, or discard this patch.