Rename Repository\Notify->NotifyOnDesktop to shouldShowOnDesktop

- New name better reflect the behavior
This commit is contained in:
Hypolite Petovan 2022-11-02 20:28:53 -04:00
parent 891f686dcf
commit fa123bd765
3 changed files with 3 additions and 3 deletions

View file

@ -664,7 +664,7 @@ class Notify extends BaseRepository
return false;
}
public function NotifyOnDesktop(Entity\Notification $Notification, string $type = null): bool
public function shouldShowOnDesktop(Entity\Notification $Notification, string $type = null): bool
{
if (is_null($type)) {
$type = NotificationFactory::getType($Notification);