fix
This commit is contained in:
		| @@ -22,4 +22,4 @@ class SlackApiChannel | |||||||
|                 "text" => $notification->toSlack($notifiable), |                 "text" => $notification->toSlack($notifiable), | ||||||
|             ]); |             ]); | ||||||
|     } |     } | ||||||
| } | } | ||||||
|   | |||||||
| @@ -52,4 +52,4 @@ class Controller extends SlackController | |||||||
|             ->withText(":x: Komenda `/{$this->request->command} {$this->request->text}` jest niepoprawna:") |             ->withText(":x: Komenda `/{$this->request->command} {$this->request->text}` jest niepoprawna:") | ||||||
|             ->withAttachments($errors->all()); |             ->withAttachments($errors->all()); | ||||||
|     } |     } | ||||||
| } | } | ||||||
|   | |||||||
| @@ -8,4 +8,4 @@ use Spatie\SlashCommand\Exceptions\SlackSlashCommandException; | |||||||
|  |  | ||||||
| class UserNotFoundException extends SlackSlashCommandException | class UserNotFoundException extends SlackSlashCommandException | ||||||
| { | { | ||||||
| } | } | ||||||
|   | |||||||
| @@ -32,4 +32,4 @@ class CatchAll extends BaseHandler | |||||||
|                     ->setFields($attachmentFields), |                     ->setFields($attachmentFields), | ||||||
|             ); |             ); | ||||||
|     } |     } | ||||||
| } | } | ||||||
|   | |||||||
| @@ -52,4 +52,4 @@ class DailySummary extends SignatureHandler | |||||||
|             ->withAttachment($remoteAttachment) |             ->withAttachment($remoteAttachment) | ||||||
|             ->withAttachment($birthdayAttachment); |             ->withAttachment($birthdayAttachment); | ||||||
|     } |     } | ||||||
| } | } | ||||||
|   | |||||||
| @@ -68,4 +68,4 @@ class GiveKeysTo extends SignatureHandler | |||||||
|             "user.required" => "Musisz podać użytkownika, któremu chcesz przekazać klucze", |             "user.required" => "Musisz podać użytkownika, któremu chcesz przekazać klucze", | ||||||
|         ]; |         ]; | ||||||
|     } |     } | ||||||
| } | } | ||||||
|   | |||||||
| @@ -30,4 +30,4 @@ class Help extends SignatureHandler | |||||||
|                     ->setFields($attachmentFields), |                     ->setFields($attachmentFields), | ||||||
|             ); |             ); | ||||||
|     } |     } | ||||||
| } | } | ||||||
|   | |||||||
| @@ -42,4 +42,4 @@ class HomeOffice extends SignatureHandler | |||||||
|             "flow_skipped" => false, |             "flow_skipped" => false, | ||||||
|         ], $user); |         ], $user); | ||||||
|     } |     } | ||||||
| } | } | ||||||
|   | |||||||
| @@ -28,4 +28,4 @@ class KeyList extends SignatureHandler | |||||||
|                     ->setText($keys->isNotEmpty() ? $keys->implode("\n") : "Nie ma żadnych kluczy w tobym"), |                     ->setText($keys->isNotEmpty() ? $keys->implode("\n") : "Nie ma żadnych kluczy w tobym"), | ||||||
|             ); |             ); | ||||||
|     } |     } | ||||||
| } | } | ||||||
|   | |||||||
| @@ -23,4 +23,4 @@ abstract class SignatureHandler extends BaseSignatureHandler | |||||||
|     { |     { | ||||||
|         return []; |         return []; | ||||||
|     } |     } | ||||||
| } | } | ||||||
|   | |||||||
| @@ -67,4 +67,4 @@ class TakeKeysFrom extends SignatureHandler | |||||||
|             "user.required" => "Musisz podać użytkownika, któremu chcesz zabrać klucze", |             "user.required" => "Musisz podać użytkownika, któremu chcesz zabrać klucze", | ||||||
|         ]; |         ]; | ||||||
|     } |     } | ||||||
| } | } | ||||||
|   | |||||||
| @@ -21,4 +21,4 @@ class SlackUserExistsRule implements Rule | |||||||
|     { |     { | ||||||
|         return "Użytkownik :input nie istnieje w tobym"; |         return "Użytkownik :input nie istnieje w tobym"; | ||||||
|     } |     } | ||||||
| } | } | ||||||
|   | |||||||
| @@ -40,4 +40,4 @@ trait FindsUserBySlackId | |||||||
|     { |     { | ||||||
|         return Str::between($slackId, "<@", "|"); |         return Str::between($slackId, "<@", "|"); | ||||||
|     } |     } | ||||||
| } | } | ||||||
|   | |||||||
| @@ -42,4 +42,4 @@ trait ListsHandlers | |||||||
|             ) |             ) | ||||||
|             ->all(); |             ->all(); | ||||||
|     } |     } | ||||||
| } | } | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user