[RSS Feed/News] \XF\Mvc\Renderer#renderRedirect broken use of $message

Status
Not open for further replies.

XenForo

Administrative
  • Thread starter
  • Admin
  • #1
We were investigating what types \XF\Mvc\Reply#getMessage() can return, since it's not documented in the class itself, and PhpStorm likes to assume that it will always be a string. In first-party code, it's used exclusively by the various implementations of \XF\Mvc\Renderer#renderRedirect. However, there are discrepancies between how different implementations handle it; XML's in particular appears to be broken.
  • Html: ignores the value
  • Json...

Read more

ادامه مطلب...
 
Status
Not open for further replies.
Back
Top Bottom