Mark data classes and functions with types

This commit is contained in:
2025-12-17 03:41:40 +09:00
parent da1113341a
commit f8acc4b815
20 changed files with 496 additions and 343 deletions
+5 -3
View File
@@ -4,8 +4,10 @@ declare(strict_types=1);
namespace pvv\side;
interface Activity {
public function getNextEventFrom(\DateTimeImmutable $date) /* : Event */;
use pvv\side\Event;
public function getPreviousEventFrom(\DateTimeImmutable $date) /* : Event */;
interface Activity {
public function getNextEventFrom(\DateTimeImmutable $date): ?Event;
public function getPreviousEventFrom(\DateTimeImmutable $date): ?Event;
}