diff --git a/src/ToastrServiceProvider.php b/src/ToastrServiceProvider.php
index <HASH>..<HASH> 100644
--- a/src/ToastrServiceProvider.php
+++ b/src/ToastrServiceProvider.php
@@ -66,12 +66,13 @@ class ToastrServiceProvider extends ServiceProvider
         Blade::directive('jquery', function ($arguments) {
             $version = $arguments;
             if (strpos($arguments, ',')) {
-                list($version, $src) = explode(',', $arguments);
+                [$version, $src] = explode(',', $arguments);
             }
-
+            
             if (isset($src)) {
                 return "<?php echo jquery($version, $src); ?>";
             }
+            
             return "<?php echo jquery($version); ?>";
         });
     }
Updated jquery blade directive to accept $src

Updated jquery blade directive to accept $src as a parameter