mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-09-02 13:31:38 +08:00
修正一些存在的警告错误
This commit is contained in:
@@ -201,7 +201,7 @@ class Input
|
||||
* @param boolean $merge 是否与默认的过虑方法合并
|
||||
* @return mixed
|
||||
*/
|
||||
public static function data($input, $name, $default = null, $filter = null, $merge = false)
|
||||
public static function data($input, $name = '', $default = null, $filter = null, $merge = false)
|
||||
{
|
||||
if (0 === strpos($name, '?')) {
|
||||
return self::has(substr($name, 1), $input);
|
||||
|
||||
Reference in New Issue
Block a user