Explorar el Código

更新admin_toastr函数

jqh hace 5 años
padre
commit
dda9ba5a5a
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      src/Support/helpers.php

+ 2 - 2
src/Support/helpers.php

@@ -300,9 +300,9 @@ if (! function_exists('admin_toastr')) {
      *
      * @param string $message
      * @param string $type
-     * @param string $offset
+     * @param array $options
      */
-    function admin_toastr($message = '', $type = 'success', $offset = '')
+    function admin_toastr($message = '', $type = 'success', $options = [])
     {
         $toastr = new MessageBag(get_defined_vars());