@@ -325,6 +325,7 @@ discard block |
||
325 | 325 | |
326 | 326 | /** |
327 | 327 | * @param \Spatie\Period\Period ...$periods |
328 | + * @param Period[] $periods |
|
328 | 329 | * |
329 | 330 | * @return \Spatie\Period\PeriodCollection|static[] |
330 | 331 | */ |
@@ -347,6 +348,7 @@ discard block |
||
347 | 348 | |
348 | 349 | /** |
349 | 350 | * @param \Spatie\Period\Period ...$periods |
351 | + * @param Period[] $periods |
|
350 | 352 | * |
351 | 353 | * @return \Spatie\Period\Period|static |
352 | 354 | */ |
@@ -409,6 +411,7 @@ discard block |
||
409 | 411 | |
410 | 412 | /** |
411 | 413 | * @param \Spatie\Period\Period ...$periods |
414 | + * @param Period[] $periods |
|
412 | 415 | * |
413 | 416 | * @return \Spatie\Period\PeriodCollection|static[] |
414 | 417 | */ |
@@ -447,6 +450,9 @@ discard block |
||
447 | 450 | ); |
448 | 451 | } |
449 | 452 | |
453 | + /** |
|
454 | + * @param string|null $format |
|
455 | + */ |
|
450 | 456 | protected static function resolveDate($date, ?string $format): DateTimeImmutable |
451 | 457 | { |
452 | 458 | if ($date instanceof DateTimeImmutable) { |