Fix E_STRICT error

https://github.com/modxcms/revolution/commit/14c59a6e6252d6233a22f0fe147950f0ca4cc5a2#commitcomment-8815627
Fix E_STRICT error

* origin/pr/12193:
  Fix E_STRICT error