engelsystem/tests/Unit/Controllers/Stub/ChecksArrivalsAndDepartures...

23 lines
543 B
PHP

<?php
declare(strict_types=1);
namespace Engelsystem\Test\Unit\Controllers\Stub;
use Engelsystem\Controllers\ChecksArrivalsAndDepartures;
class ChecksArrivalsAndDeparturesImplementation
{
use ChecksArrivalsAndDepartures;
public function checkArrival(?string $arrival, ?string $departure): bool
{
return $this->isArrivalDateValid($arrival, $departure);
}
public function checkDeparture(?string $arrival, ?string $departure): bool
{
return $this->isDepartureDateValid($arrival, $departure);
}
}