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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

21 lines
517 B
PHP
Raw Normal View History

<?php
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);
}
}