1
0
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:
Toby Zerner
2018-08-24 21:46:28 +09:30
parent 5c0c2d1c40
commit 9792576464
9 changed files with 10 additions and 10 deletions

View File

@@ -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.

View File

@@ -32,7 +32,7 @@ class DiscussionRenamedBlueprint implements BlueprintInterface
/**
* {@inheritdoc}
*/
public function getSender()
public function getFromUser()
{
return $this->post->user;
}