chore: code cleanup with rector and php-cs-fixer
This commit is contained in:
@@ -4,6 +4,7 @@ declare(strict_types=1);
|
||||
|
||||
namespace App\Tests\BusProNet\Service;
|
||||
|
||||
use App\BusProNet\Model\Travel;
|
||||
use App\BusProNet\Service\BookingStatusRuleRegistry;
|
||||
use App\BusProNet\Service\Contract\BookingStatusRuleInterface;
|
||||
use App\Form\Model\BookingDto;
|
||||
@@ -98,9 +99,9 @@ class BookingStatusRuleRegistryTest extends TestCase
|
||||
$this->assertSame('L', $registry->evaluateStatus($bookingDto));
|
||||
}
|
||||
|
||||
private function createMockTravel(): \App\BusProNet\Model\Travel
|
||||
private function createMockTravel(): Travel
|
||||
{
|
||||
$travel = new \App\BusProNet\Model\Travel();
|
||||
$travel = new Travel();
|
||||
$travel->id = 1;
|
||||
$travel->hotelId = 1;
|
||||
$travel->dateFrom = new \DateTimeImmutable('2030-01-01');
|
||||
|
||||
Reference in New Issue
Block a user