Fix code error, static methods can not be abstract.

This commit is contained in:
Franz Liedke 2015-05-18 17:11:57 +02:00
parent e0401469dd
commit 5b5a213143

View File

@ -2,5 +2,15 @@
abstract class Notification
{
abstract public static function getType();
/**
* Returns the serialized type of this notification.
*
* This method should be overwritten by subclasses.
*
* @return string
*/
public static function getType()
{
return 'notification';
}
}