@@ -37,6 +37,9 @@ discard block |
||
37 | 37 | return self::add('enqueue', $options); |
38 | 38 | } |
39 | 39 | |
40 | + /** |
|
41 | + * @param string $returnType |
|
42 | + */ |
|
40 | 43 | protected static function get($returnType, $asset) |
41 | 44 | { |
42 | 45 | $distPath = get_template_directory() . '/dist'; |
@@ -66,6 +69,9 @@ discard block |
||
66 | 69 | return false; |
67 | 70 | } |
68 | 71 | |
72 | + /** |
|
73 | + * @param string $funcType |
|
74 | + */ |
|
69 | 75 | protected static function add($funcType, $options) |
70 | 76 | { |
71 | 77 | $options = array_merge(self::DEFAULT_OPTIONS, $options); |
@@ -5,7 +5,7 @@ |
||
5 | 5 | use Flynt\Utils\Asset; |
6 | 6 | use Flynt\Utils\Feature; |
7 | 7 | |
8 | -add_action('wp_enqueue_scripts', function () { |
|
8 | +add_action('wp_enqueue_scripts', function() { |
|
9 | 9 | $jqueryVersion = wp_scripts()->registered['jquery']->ver; |
10 | 10 | wp_deregister_script('jquery'); |
11 | 11 |