src/Recurrence/Rrule/Transformer/CountTransformer.php 1 location
|
@@ 32-34 (lines=3) @@
|
| 29 |
|
*/ |
| 30 |
|
protected function validate(array $values) |
| 31 |
|
{ |
| 32 |
|
if (!isset($values[0]) || !is_numeric($values[0])) { |
| 33 |
|
throw new InvalidRruleException(CountExtractor::RRULE_PARAMETER, ((isset($values[0]))? (string) $values[0] : '')); |
| 34 |
|
} |
| 35 |
|
} |
| 36 |
|
} |
| 37 |
|
|
src/Recurrence/Rrule/Transformer/IntervalTransformer.php 1 location
|
@@ 21-23 (lines=3) @@
|
| 18 |
|
*/ |
| 19 |
|
protected function validate(array $values) |
| 20 |
|
{ |
| 21 |
|
if (!isset($values[0]) || !is_numeric($values[0])) { |
| 22 |
|
throw new InvalidRruleException(IntervalExtractor::RRULE_PARAMETER, ((isset($values[0]))? (string) $values[0] : '')); |
| 23 |
|
} |
| 24 |
|
} |
| 25 |
|
} |
| 26 |
|
|