z-song / laravel-admin

Build a full-featured administrative interface in ten minutes
https://laravel-admin.org
MIT License
11.13k stars 2.81k forks source link

修正preg_match()函数第二个参数需要为字符串 #5704

Closed asundust closed 1 year ago

asundust commented 1 year ago

高版本的php中对preg_match()的严谨入参,如果第二个参数传null,则会发生以下错误。

preg_match(): Passing null to parameter #2 ($subject) of type string is deprecated in /vendor/laravel/framework/src/Illuminate/Routing/UrlGenerator.php on line 625
jxlwqq commented 1 year ago

thx