This commit is contained in:
Adrian Hopek 2022-04-25 13:36:40 +02:00
parent 54faa3460c
commit 160eb5f94b
14 changed files with 14 additions and 14 deletions

View File

@ -22,4 +22,4 @@ class SlackApiChannel
"text" => $notification->toSlack($notifiable),
]);
}
}
}

View File

@ -52,4 +52,4 @@ class Controller extends SlackController
->withText(":x: Komenda `/{$this->request->command} {$this->request->text}` jest niepoprawna:")
->withAttachments($errors->all());
}
}
}

View File

@ -8,4 +8,4 @@ use Spatie\SlashCommand\Exceptions\SlackSlashCommandException;
class UserNotFoundException extends SlackSlashCommandException
{
}
}

View File

@ -32,4 +32,4 @@ class CatchAll extends BaseHandler
->setFields($attachmentFields),
);
}
}
}

View File

@ -52,4 +52,4 @@ class DailySummary extends SignatureHandler
->withAttachment($remoteAttachment)
->withAttachment($birthdayAttachment);
}
}
}

View File

@ -68,4 +68,4 @@ class GiveKeysTo extends SignatureHandler
"user.required" => "Musisz podać użytkownika, któremu chcesz przekazać klucze",
];
}
}
}

View File

@ -30,4 +30,4 @@ class Help extends SignatureHandler
->setFields($attachmentFields),
);
}
}
}

View File

@ -42,4 +42,4 @@ class HomeOffice extends SignatureHandler
"flow_skipped" => false,
], $user);
}
}
}

View File

@ -28,4 +28,4 @@ class KeyList extends SignatureHandler
->setText($keys->isNotEmpty() ? $keys->implode("\n") : "Nie ma żadnych kluczy w tobym"),
);
}
}
}

View File

@ -23,4 +23,4 @@ abstract class SignatureHandler extends BaseSignatureHandler
{
return [];
}
}
}

View File

@ -67,4 +67,4 @@ class TakeKeysFrom extends SignatureHandler
"user.required" => "Musisz podać użytkownika, któremu chcesz zabrać klucze",
];
}
}
}

View File

@ -21,4 +21,4 @@ class SlackUserExistsRule implements Rule
{
return "Użytkownik :input nie istnieje w tobym";
}
}
}

View File

@ -40,4 +40,4 @@ trait FindsUserBySlackId
{
return Str::between($slackId, "<@", "|");
}
}
}

View File

@ -42,4 +42,4 @@ trait ListsHandlers
)
->all();
}
}
}