Browse Source

更新admin_toastr函数

jqh 5 years ago
parent
commit
dda9ba5a5a
1 changed files with 2 additions and 2 deletions
  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());