From f95739ecb1273d94f5ad4caa83525ba3078c0a8d Mon Sep 17 00:00:00 2001 From: Adrian Hopek Date: Tue, 26 Apr 2022 12:50:39 +0200 Subject: [PATCH] #116 - cs fix --- app/Domain/Notifications/Channels.php | 2 +- app/Domain/Notifications/Notifiable.php | 2 +- app/Infrastructure/Slack/Elements/AbsencesAttachment.php | 2 +- app/Infrastructure/Slack/Elements/Attachment.php | 2 +- app/Infrastructure/Slack/Elements/BirthdaysAttachment.php | 2 +- app/Infrastructure/Slack/Elements/KeysAttachment.php | 2 +- app/Infrastructure/Slack/Elements/ListAttachment.php | 2 +- app/Infrastructure/Slack/Elements/RemotesAttachment.php | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-) diff --git a/app/Domain/Notifications/Channels.php b/app/Domain/Notifications/Channels.php index e9c23e2..b12d14b 100644 --- a/app/Domain/Notifications/Channels.php +++ b/app/Domain/Notifications/Channels.php @@ -8,4 +8,4 @@ class Channels { public const MAIL = "mail"; public const SLACK = "slack"; -} \ No newline at end of file +} diff --git a/app/Domain/Notifications/Notifiable.php b/app/Domain/Notifications/Notifiable.php index b23e554..99fef2f 100644 --- a/app/Domain/Notifications/Notifiable.php +++ b/app/Domain/Notifications/Notifiable.php @@ -7,4 +7,4 @@ namespace Toby\Domain\Notifications; interface Notifiable { public function notify($instance); -} \ No newline at end of file +} diff --git a/app/Infrastructure/Slack/Elements/AbsencesAttachment.php b/app/Infrastructure/Slack/Elements/AbsencesAttachment.php index ae00273..3f34fac 100644 --- a/app/Infrastructure/Slack/Elements/AbsencesAttachment.php +++ b/app/Infrastructure/Slack/Elements/AbsencesAttachment.php @@ -19,4 +19,4 @@ class AbsencesAttachment extends ListAttachment ->setItems($absences->map(fn(Vacation $vacation): string => $vacation->user->profile->full_name)) ->setEmptyText("Wszyscy dzisiaj pracują :muscle:"); } -} \ No newline at end of file +} diff --git a/app/Infrastructure/Slack/Elements/Attachment.php b/app/Infrastructure/Slack/Elements/Attachment.php index fe6a342..9b223ec 100644 --- a/app/Infrastructure/Slack/Elements/Attachment.php +++ b/app/Infrastructure/Slack/Elements/Attachment.php @@ -9,4 +9,4 @@ use Spatie\SlashCommand\Attachment as BaseAttachment; class Attachment extends BaseAttachment implements Arrayable { -} \ No newline at end of file +} diff --git a/app/Infrastructure/Slack/Elements/BirthdaysAttachment.php b/app/Infrastructure/Slack/Elements/BirthdaysAttachment.php index 13aa219..860885d 100644 --- a/app/Infrastructure/Slack/Elements/BirthdaysAttachment.php +++ b/app/Infrastructure/Slack/Elements/BirthdaysAttachment.php @@ -19,4 +19,4 @@ class BirthdaysAttachment extends ListAttachment ->setItems($birthdays->map(fn(User $user): string => $user->profile->full_name)) ->setEmptyText("Dzisiaj nikt nie ma urodzin :cry:"); } -} \ No newline at end of file +} diff --git a/app/Infrastructure/Slack/Elements/KeysAttachment.php b/app/Infrastructure/Slack/Elements/KeysAttachment.php index 6702a66..80819d3 100644 --- a/app/Infrastructure/Slack/Elements/KeysAttachment.php +++ b/app/Infrastructure/Slack/Elements/KeysAttachment.php @@ -18,4 +18,4 @@ class KeysAttachment extends ListAttachment ->setItems($keys->map(fn(Key $key): string => "Klucz nr {$key->id} - <@{$key->user->profile->slack_id}>")) ->setEmptyText("Nie ma żadnych kluczy w tobym"); } -} \ No newline at end of file +} diff --git a/app/Infrastructure/Slack/Elements/ListAttachment.php b/app/Infrastructure/Slack/Elements/ListAttachment.php index bccaf7a..3e3dfab 100644 --- a/app/Infrastructure/Slack/Elements/ListAttachment.php +++ b/app/Infrastructure/Slack/Elements/ListAttachment.php @@ -33,4 +33,4 @@ class ListAttachment extends Attachment "text" => $this->items->isNotEmpty() ? $this->items->implode("\n") : $this->emptyText, ]); } -} \ No newline at end of file +} diff --git a/app/Infrastructure/Slack/Elements/RemotesAttachment.php b/app/Infrastructure/Slack/Elements/RemotesAttachment.php index 2b91f44..2f39ad4 100644 --- a/app/Infrastructure/Slack/Elements/RemotesAttachment.php +++ b/app/Infrastructure/Slack/Elements/RemotesAttachment.php @@ -19,4 +19,4 @@ class RemotesAttachment extends ListAttachment ->setItems($remoteDays->map(fn(Vacation $vacation): string => $vacation->user->profile->full_name)) ->setEmptyText("Wszyscy dzisiaj są w biurze :boom:"); } -} \ No newline at end of file +}