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",