mirror of
https://github.com/flarum/core.git
synced 2025-10-22 20:26:15 +02:00
Rename notification.sender
This commit is contained in:
@@ -23,7 +23,7 @@ interface BlueprintInterface
|
||||
*
|
||||
* @return \Flarum\User\User|null
|
||||
*/
|
||||
public function getSender();
|
||||
public function getFromUser();
|
||||
|
||||
/**
|
||||
* Get the model that is the subject of this activity.
|
||||
|
||||
@@ -32,7 +32,7 @@ class DiscussionRenamedBlueprint implements BlueprintInterface
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
public function getSender()
|
||||
public function getFromUser()
|
||||
{
|
||||
return $this->post->user;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user