address unit test failures due to strict typing

This commit is contained in:
El RIDO 2024-06-04 07:27:45 +02:00
parent cebc9acce6
commit 68ccaaace0
2 changed files with 2 additions and 2 deletions

View file

@ -181,7 +181,7 @@ abstract class AbstractData
protected function getOpenSlot(array &$comments, $postdate)
{
if (array_key_exists($postdate, $comments)) {
$parts = explode('.', $postdate, 2);
$parts = explode('.', (string) $postdate, 2);
if (!array_key_exists(1, $parts)) {
$parts[1] = 0;
}