Fix function comment in NodaTimeSplitter
This commit is contained in:
parent
aca4f86da5
commit
7ccdfd4659
@ -754,7 +754,7 @@ final class NodaTimeAutotranslater {
|
||||
*/
|
||||
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 = [];
|
||||
|
||||
|
@ -993,7 +993,7 @@ final class NodaTimeSplitter {
|
||||
*
|
||||
* @param string $datum Date.
|
||||
*
|
||||
* @return array<array<string>>
|
||||
* @return array<string>
|
||||
*/
|
||||
public static function attempt_splitting_from_till(string $datum):array {
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user