소스 검색

更新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());