You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Move Request making to L345 and remove L355-L363 entirely
yii\filters\ContentNegotiator::bootstrap() should only register eventHandler on yii\base\Application on beforeAction event and handle it's own yii\filters\ContentNegotiator::beforeAction()
The text was updated successfully, but these errors were encountered:
IF I want to use
yii\filters\ContentNegotiator
in bootstrap(as it implementsyii\base\BootstrapInterface
and therefore I should be able to do so)It unfortunately does not work as
Therefore it does not work
There are 2 solutions how to fix it
yii\filters\ContentNegotiator::bootstrap()
should only register eventHandler onyii\base\Application
onbeforeAction
event and handle it's ownyii\filters\ContentNegotiator::beforeAction()
The text was updated successfully, but these errors were encountered: