[RSS Feed/News] AbstractWatch::getDefaultWatchNotifyData is defined as protected but overridden as public

Status
Not open for further replies.

XenForo

Administrative
  • Thread starter
  • Admin
  • #1
XF\Notifier\Post\AbstractWatch::getDefaultWatchNotifyData and XFRM\Notifier\ResourceUpdate\AbstractWatch::getDefaultWatchNotifyData are both defined as;

PHP:

abstract protected function getDefaultWatchNotifyData();

But all the implementations are;
PHP:

public function getDefaultWatchNotifyData()

Brought to you by the "Method visibility shouldn't be overridden" phpstorm inspector when updating two of my add-ons

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