Fix function comment in NodaTimeSplitter

This commit is contained in:
Joshua Ramon Enslin 2021-01-31 01:50:25 +01:00
parent aca4f86da5
commit 7ccdfd4659
Signed by: jrenslin
GPG Key ID: 46016F84501B70AE
2 changed files with 2 additions and 2 deletions

View File

@ -754,7 +754,7 @@ final class NodaTimeAutotranslater {
*/ */
public static function getTranslations(array $timeInfo):array { public static function getTranslations(array $timeInfo):array {
if (!empty($timespanDates = NodaTimeSplitter::attempt_splitting_from_till($timeInfo['zeit_name']))) { if (!empty($timespanDates = NodaTimeSplitter::attempt_splitting_from_till((string)$timeInfo['zeit_name']))) {
$output = []; $output = [];

View File

@ -993,7 +993,7 @@ final class NodaTimeSplitter {
* *
* @param string $datum Date. * @param string $datum Date.
* *
* @return array<array<string>> * @return array<string>
*/ */
public static function attempt_splitting_from_till(string $datum):array { public static function attempt_splitting_from_till(string $datum):array {