-
Notifications
You must be signed in to change notification settings - Fork 786
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
添加新事件,trigger时报错 #377
Labels
Comments
@inhere 效率 |
@alukaa 你参照PR修改试试看呢。 trigger时始终会传递 event 对象给用户处理的。 params 需自己从event对象中拿取 |
😄 行,感谢反馈 👍 |
@inhere 效率真高,给个star,哈哈 |
huangzhhui
pushed a commit
to swoft-cloud/swoft-component
that referenced
this issue
Sep 5, 2018
huangzhhui
pushed a commit
to swoft-cloud/swoft-framework
that referenced
this issue
Sep 5, 2018
swoft-bot
pushed a commit
to swoft-cloud/swoft-framework
that referenced
this issue
Nov 21, 2018
swoft-bot
pushed a commit
to swoft-cloud/swoft-view
that referenced
this issue
Jan 25, 2019
swoft-bot
pushed a commit
to swoft-cloud/swoft-view
that referenced
this issue
Jan 25, 2019
stelin
pushed a commit
to swoft-cloud/swoft-framework
that referenced
this issue
May 28, 2019
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Details
原因分析:
会调用
LazyListener
,
但是LazyListener在调用handle方法时传递的参数是
EventInterface $event
,而\Swoft\Helper\PhpHelper::call
接受的是array
这里应该接收
event$->getParams()
?// paste code
The text was updated successfully, but these errors were encountered: