mirror of
https://github.com/MrUnknownDE/panel.git
synced 2026-04-18 22:33:44 +02:00
Use more standardized phpcs
This commit is contained in:
@@ -25,8 +25,6 @@ class RemovedFromServer extends Notification implements ShouldQueue
|
||||
|
||||
/**
|
||||
* Create a new notification instance.
|
||||
*
|
||||
* @param array $server
|
||||
*/
|
||||
public function __construct(array $server)
|
||||
{
|
||||
@@ -37,6 +35,7 @@ class RemovedFromServer extends Notification implements ShouldQueue
|
||||
* Get the notification's delivery channels.
|
||||
*
|
||||
* @param mixed $notifiable
|
||||
*
|
||||
* @return array
|
||||
*/
|
||||
public function via($notifiable)
|
||||
@@ -48,11 +47,12 @@ class RemovedFromServer extends Notification implements ShouldQueue
|
||||
* Get the mail representation of the notification.
|
||||
*
|
||||
* @param mixed $notifiable
|
||||
*
|
||||
* @return \Illuminate\Notifications\Messages\MailMessage
|
||||
*/
|
||||
public function toMail($notifiable)
|
||||
{
|
||||
return (new MailMessage)
|
||||
return (new MailMessage())
|
||||
->error()
|
||||
->greeting('Hello ' . $this->server->user . '.')
|
||||
->line('You have been removed as a subuser for the following server.')
|
||||
|
||||
Reference in New Issue
Block a user