Completed
Push — componentlibrary_vendorAssets ( 8bf5e3 )
by Dominik
01:31
created
Components/ListSearchResults/functions.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -6,7 +6,7 @@
 block discarded – undo
6 6
 use Flynt\Utils\Options;
7 7
 use Timber\Timber;
8 8
 
9
-add_filter('Flynt/addComponentData?name=ListSearchResults', function ($data) {
9
+add_filter('Flynt/addComponentData?name=ListSearchResults', function($data) {
10 10
     global $wp_query;
11 11
     $searchQuery = get_search_query();
12 12
     $data['searchTerm'] = $searchQuery;
Please login to merge, or discard this patch.
Components/GridPostsSlider/functions.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -5,7 +5,7 @@
 block discarded – undo
5 5
 use Flynt;
6 6
 use Timber\Timber;
7 7
 
8
-add_filter('Flynt/addComponentData?name=GridPostsSlider', function ($data) {
8
+add_filter('Flynt/addComponentData?name=GridPostsSlider', function($data) {
9 9
     $posts = Timber::get_posts([
10 10
         'post_type'         => 'post',
11 11
         'posts_per_page'    => -1,
Please login to merge, or discard this patch.
inc/assets.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -2,7 +2,7 @@  discard block
 block discarded – undo
2 2
 
3 3
 use Flynt\Utils\Asset;
4 4
 
5
-add_action('wp_enqueue_scripts', function () {
5
+add_action('wp_enqueue_scripts', function() {
6 6
     Asset::register([
7 7
         'name' => 'vendor',
8 8
         'type' => 'script',
@@ -64,7 +64,7 @@  discard block
 block discarded – undo
64 64
     }
65 65
 });
66 66
 
67
-add_action('admin_enqueue_scripts', function () {
67
+add_action('admin_enqueue_scripts', function() {
68 68
     Asset::register([
69 69
         'name' => 'vendorAdmin',
70 70
         'type' => 'script',
Please login to merge, or discard this patch.