Skip to content

Commit

Permalink
Merge pull request #382 from qnnp-me/master
Browse files Browse the repository at this point in the history
修正 session() 助手函数的类型标注
  • Loading branch information
walkor authored Aug 13, 2023
2 parents ff72c1a + dbfc6b2 commit 4d45bca
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion support/helpers.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
use support\view\Blade;
use support\view\ThinkPHP;
use support\view\Twig;
use Workerman\Protocols\Http\Session;
use Workerman\Worker;
use Webman\App;
use Webman\Config;
Expand Down Expand Up @@ -297,7 +298,7 @@ function route(string $name, ...$parameters): string
* Session
* @param mixed $key
* @param mixed $default
* @return mixed
* @return mixed|bool|Session
*/
function session($key = null, $default = null)
{
Expand Down

0 comments on commit 4d45bca

Please sign in to comment.