Various bugfixes and code clean up.

This commit is contained in:
James Cole
2018-07-27 04:46:21 +02:00
parent 2ad8e7f343
commit 0312ba8ad7
60 changed files with 223 additions and 353 deletions

View File

@@ -67,18 +67,18 @@ class ValidRecurrenceRepetitionValue implements Rule
return $this->validateMonthly($value);
}
//ndom,3,7
// Value is like: ndom,3,7
// nth x-day of the month.
if (0 === strpos($value, 'ndom')) {
return $this->validateNdom($value);
}
//weekly,7
// Value is like: weekly,7
if (0 === strpos($value, 'weekly')) {
return $this->validateWeekly($value);
}
//yearly,2018-01-01
// Value is like: yearly,2018-01-01
if (0 === strpos($value, 'yearly')) {
return $this->validateYearly($value);
}