From 5be56416ee0b707c7caad22545547f3724eae4e9 Mon Sep 17 00:00:00 2001 From: Colin Hall Date: Tue, 23 Jun 2020 19:06:48 +0100 Subject: [PATCH] Bug fix typo --- src/Requests/StoreRecurrence.php | 8 ++++---- src/Requests/UpdateRecurrence.php | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/Requests/StoreRecurrence.php b/src/Requests/StoreRecurrence.php index b462aae..f256996 100644 --- a/src/Requests/StoreRecurrence.php +++ b/src/Requests/StoreRecurrence.php @@ -11,11 +11,11 @@ class StoreRecurrence extends PersistResource "type" => "nullable|integer|in:1,2,3", "repeat_interval" => "nullable|integer", "weekly_days" => "nullable|integer|in:1,2,3,4,5,6,7", - "monthly_day" => "nullabel|numeric|between:1,31", + "monthly_day" => "nullable|numeric|between:1,31", "monthly_week" => "nullable|numeric|in:-1,1,2,3,4", "monthly_week_day" => "nullable|integer|in:1,2,3,4,5,6,7", - "end_times" => "nullable|numeric|max:50|",//exclude_unless:end_date_time,null", - "end_date_time" => "nullable|date|",//exclude_unless:end_times,null" + "end_times" => "nullable|numeric|max:50", + "end_date_time" => "nullable|date", ]; - + } diff --git a/src/Requests/UpdateRecurrence.php b/src/Requests/UpdateRecurrence.php index b915f25..df4e355 100644 --- a/src/Requests/UpdateRecurrence.php +++ b/src/Requests/UpdateRecurrence.php @@ -11,7 +11,7 @@ class UpdateRecurrence extends PersistResource "type" => "nullable|integer|in:1,2,3", "repeat_interval" => "nullable|integer", "weekly_days" => "nullable|integer|in:1,2,3,4,5,6,7", - "monthly_day" => "nullabel|numeric|between:1,31", + "monthly_day" => "nullable|numeric|between:1,31", "monthly_week" => "nullable|numeric|in:-1,1,2,3,4", "monthly_week_day" => "nullable|integer|in:1,2,3,4,5,6,7", "end_times" => "nullable|numeric|max:50",