From 45f3846feb6e5dad0a554fa0500df13b6e2ae488 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benjamin=20Beganovi=C4=87?= Date: Fri, 1 Mar 2024 13:43:00 +0100 Subject: [PATCH] Add validation rule for subscription steps --- app/Rules/Subscriptions/Steps.php | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 app/Rules/Subscriptions/Steps.php diff --git a/app/Rules/Subscriptions/Steps.php b/app/Rules/Subscriptions/Steps.php new file mode 100644 index 000000000000..3273bc2c3e80 --- /dev/null +++ b/app/Rules/Subscriptions/Steps.php @@ -0,0 +1,26 @@ + 0) { + $fail($errors[0]); + } + } +}