mirror of
https://github.com/flarum/core.git
synced 2025-06-06 06:35:09 +02:00
Fix code error, static methods can not be abstract.
This commit is contained in:
parent
0102f31e06
commit
7e4693a855
@ -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';
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user