2022-10-13 20:23:22 +02:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace Engelsystem\Test\Unit\Controllers\Stub;
|
|
|
|
|
|
|
|
use Engelsystem\Controllers\ChecksArrivalsAndDepartures;
|
|
|
|
|
|
|
|
class ChecksArrivalsAndDeparturesImplementation
|
|
|
|
{
|
|
|
|
use ChecksArrivalsAndDepartures;
|
|
|
|
|
2022-10-15 23:08:45 +02:00
|
|
|
public function checkArrival(?string $arrival, ?string $departure): bool
|
2022-10-13 20:23:22 +02:00
|
|
|
{
|
|
|
|
return $this->isArrivalDateValid($arrival, $departure);
|
|
|
|
}
|
|
|
|
|
2022-10-15 23:08:45 +02:00
|
|
|
public function checkDeparture(?string $arrival, ?string $departure): bool
|
2022-10-13 20:23:22 +02:00
|
|
|
{
|
|
|
|
return $this->isDepartureDateValid($arrival, $departure);
|
|
|
|
}
|
|
|
|
}
|