浏览代码

更新admin_toastr函数

jqh 5 年之前
父节点
当前提交
dda9ba5a5a
共有 1 个文件被更改,包括 2 次插入2 次删除
  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());