From 160eb5f94b376d4fbb977683cf0b06486a4e8b20 Mon Sep 17 00:00:00 2001 From: Adrian Hopek Date: Mon, 25 Apr 2022 13:36:40 +0200 Subject: [PATCH] fix --- app/Domain/Slack/Channels/SlackApiChannel.php | 2 +- app/Domain/Slack/Controller.php | 2 +- app/Domain/Slack/Exceptions/UserNotFoundException.php | 2 +- app/Domain/Slack/Handlers/CatchAll.php | 2 +- app/Domain/Slack/Handlers/DailySummary.php | 2 +- app/Domain/Slack/Handlers/GiveKeysTo.php | 2 +- app/Domain/Slack/Handlers/Help.php | 2 +- app/Domain/Slack/Handlers/HomeOffice.php | 2 +- app/Domain/Slack/Handlers/KeyList.php | 2 +- app/Domain/Slack/Handlers/SignatureHandler.php | 2 +- app/Domain/Slack/Handlers/TakeKeysFrom.php | 2 +- app/Domain/Slack/Rules/SlackUserExistsRule.php | 2 +- app/Domain/Slack/Traits/FindsUserBySlackId.php | 2 +- app/Domain/Slack/Traits/ListsHandlers.php | 2 +- 14 files changed, 14 insertions(+), 14 deletions(-) diff --git a/app/Domain/Slack/Channels/SlackApiChannel.php b/app/Domain/Slack/Channels/SlackApiChannel.php index 55c28ab..2741e09 100644 --- a/app/Domain/Slack/Channels/SlackApiChannel.php +++ b/app/Domain/Slack/Channels/SlackApiChannel.php @@ -22,4 +22,4 @@ class SlackApiChannel "text" => $notification->toSlack($notifiable), ]); } -} \ No newline at end of file +} diff --git a/app/Domain/Slack/Controller.php b/app/Domain/Slack/Controller.php index 78cb4de..616f048 100644 --- a/app/Domain/Slack/Controller.php +++ b/app/Domain/Slack/Controller.php @@ -52,4 +52,4 @@ class Controller extends SlackController ->withText(":x: Komenda `/{$this->request->command} {$this->request->text}` jest niepoprawna:") ->withAttachments($errors->all()); } -} \ No newline at end of file +} diff --git a/app/Domain/Slack/Exceptions/UserNotFoundException.php b/app/Domain/Slack/Exceptions/UserNotFoundException.php index 3bccfc9..925e6fb 100644 --- a/app/Domain/Slack/Exceptions/UserNotFoundException.php +++ b/app/Domain/Slack/Exceptions/UserNotFoundException.php @@ -8,4 +8,4 @@ use Spatie\SlashCommand\Exceptions\SlackSlashCommandException; class UserNotFoundException extends SlackSlashCommandException { -} \ No newline at end of file +} diff --git a/app/Domain/Slack/Handlers/CatchAll.php b/app/Domain/Slack/Handlers/CatchAll.php index a2516b5..faeaf7e 100644 --- a/app/Domain/Slack/Handlers/CatchAll.php +++ b/app/Domain/Slack/Handlers/CatchAll.php @@ -32,4 +32,4 @@ class CatchAll extends BaseHandler ->setFields($attachmentFields), ); } -} \ No newline at end of file +} diff --git a/app/Domain/Slack/Handlers/DailySummary.php b/app/Domain/Slack/Handlers/DailySummary.php index 6eb6905..07dd420 100644 --- a/app/Domain/Slack/Handlers/DailySummary.php +++ b/app/Domain/Slack/Handlers/DailySummary.php @@ -52,4 +52,4 @@ class DailySummary extends SignatureHandler ->withAttachment($remoteAttachment) ->withAttachment($birthdayAttachment); } -} \ No newline at end of file +} diff --git a/app/Domain/Slack/Handlers/GiveKeysTo.php b/app/Domain/Slack/Handlers/GiveKeysTo.php index 51c1cf3..0ecb587 100644 --- a/app/Domain/Slack/Handlers/GiveKeysTo.php +++ b/app/Domain/Slack/Handlers/GiveKeysTo.php @@ -68,4 +68,4 @@ class GiveKeysTo extends SignatureHandler "user.required" => "Musisz podać użytkownika, któremu chcesz przekazać klucze", ]; } -} \ No newline at end of file +} diff --git a/app/Domain/Slack/Handlers/Help.php b/app/Domain/Slack/Handlers/Help.php index 0df9fb8..a46d9d1 100644 --- a/app/Domain/Slack/Handlers/Help.php +++ b/app/Domain/Slack/Handlers/Help.php @@ -30,4 +30,4 @@ class Help extends SignatureHandler ->setFields($attachmentFields), ); } -} \ No newline at end of file +} diff --git a/app/Domain/Slack/Handlers/HomeOffice.php b/app/Domain/Slack/Handlers/HomeOffice.php index 1586eb4..5a4cd34 100644 --- a/app/Domain/Slack/Handlers/HomeOffice.php +++ b/app/Domain/Slack/Handlers/HomeOffice.php @@ -42,4 +42,4 @@ class HomeOffice extends SignatureHandler "flow_skipped" => false, ], $user); } -} \ No newline at end of file +} diff --git a/app/Domain/Slack/Handlers/KeyList.php b/app/Domain/Slack/Handlers/KeyList.php index c13cf21..7a8adef 100644 --- a/app/Domain/Slack/Handlers/KeyList.php +++ b/app/Domain/Slack/Handlers/KeyList.php @@ -28,4 +28,4 @@ class KeyList extends SignatureHandler ->setText($keys->isNotEmpty() ? $keys->implode("\n") : "Nie ma żadnych kluczy w tobym"), ); } -} \ No newline at end of file +} diff --git a/app/Domain/Slack/Handlers/SignatureHandler.php b/app/Domain/Slack/Handlers/SignatureHandler.php index 5cbf12f..626a561 100644 --- a/app/Domain/Slack/Handlers/SignatureHandler.php +++ b/app/Domain/Slack/Handlers/SignatureHandler.php @@ -23,4 +23,4 @@ abstract class SignatureHandler extends BaseSignatureHandler { return []; } -} \ No newline at end of file +} diff --git a/app/Domain/Slack/Handlers/TakeKeysFrom.php b/app/Domain/Slack/Handlers/TakeKeysFrom.php index 9801026..e8ac558 100644 --- a/app/Domain/Slack/Handlers/TakeKeysFrom.php +++ b/app/Domain/Slack/Handlers/TakeKeysFrom.php @@ -67,4 +67,4 @@ class TakeKeysFrom extends SignatureHandler "user.required" => "Musisz podać użytkownika, któremu chcesz zabrać klucze", ]; } -} \ No newline at end of file +} diff --git a/app/Domain/Slack/Rules/SlackUserExistsRule.php b/app/Domain/Slack/Rules/SlackUserExistsRule.php index fcdc3d3..aeb8fe7 100644 --- a/app/Domain/Slack/Rules/SlackUserExistsRule.php +++ b/app/Domain/Slack/Rules/SlackUserExistsRule.php @@ -21,4 +21,4 @@ class SlackUserExistsRule implements Rule { return "Użytkownik :input nie istnieje w tobym"; } -} \ No newline at end of file +} diff --git a/app/Domain/Slack/Traits/FindsUserBySlackId.php b/app/Domain/Slack/Traits/FindsUserBySlackId.php index b48a07b..0502c3f 100644 --- a/app/Domain/Slack/Traits/FindsUserBySlackId.php +++ b/app/Domain/Slack/Traits/FindsUserBySlackId.php @@ -40,4 +40,4 @@ trait FindsUserBySlackId { return Str::between($slackId, "<@", "|"); } -} \ No newline at end of file +} diff --git a/app/Domain/Slack/Traits/ListsHandlers.php b/app/Domain/Slack/Traits/ListsHandlers.php index 08895f9..aa8e331 100644 --- a/app/Domain/Slack/Traits/ListsHandlers.php +++ b/app/Domain/Slack/Traits/ListsHandlers.php @@ -42,4 +42,4 @@ trait ListsHandlers ) ->all(); } -} \ No newline at end of file +}