Use more standardized phpcs

This commit is contained in:
Dane Everitt 2021-01-23 12:33:34 -08:00
parent a043071e3c
commit c449ca5155
No known key found for this signature in database
GPG key ID: EEA66103B3D71F53
493 changed files with 1116 additions and 3903 deletions

View file

@ -25,8 +25,6 @@ class AddedToServer extends Notification implements ShouldQueue
/**
* Create a new notification instance.
*
* @param array $server
*/
public function __construct(array $server)
{
@ -37,6 +35,7 @@ class AddedToServer extends Notification implements ShouldQueue
* Get the notification's delivery channels.
*
* @param mixed $notifiable
*
* @return array
*/
public function via($notifiable)
@ -48,11 +47,12 @@ class AddedToServer 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())
->greeting('Hello ' . $this->server->user . '!')
->line('You have been added as a subuser for the following server, allowing you certain control over the server.')
->line('Server Name: ' . $this->server->name)