chore: code cleanup with rector and php-cs-fixer
This commit is contained in:
1 parent
d211425ff2
commit
1fa8f88a6d
38 files changed
+130
-98
No files matched your search
@@ -9,8 +9,8 @@ use App\BusProNet\Exception\ApiClientException;
|
||||
use App\BusProNet\Exception\TimeoutException;
|
||||
use App\BusProNet\Model\Notification;
|
||||
use App\Entity\User;
|
||||
use App\Model\BookingEditSubmissionResult;
|
||||
use App\Form\Model\BookingDto;
|
||||
use App\Model\BookingEditSubmissionResult;
|
||||
use Psr\Log\LoggerInterface;
|
||||
use Symfony\Component\HttpFoundation\Request;
|
||||
|
||||
@@ -76,6 +76,7 @@ class BookingEditSubmitter
|
||||
'booking_id' => $bookingId,
|
||||
'message' => $response->message,
|
||||
]);
|
||||
|
||||
return new BookingEditSubmissionResult(
|
||||
true === $response->isError()
|
||||
? BookingEditSubmissionResult::STATUS_NOTIFICATION_ERROR
|
||||
@@ -118,6 +119,7 @@ class BookingEditSubmitter
|
||||
'email' => $email,
|
||||
'booking_id' => $bookingId,
|
||||
]);
|
||||
|
||||
return new BookingEditSubmissionResult(
|
||||
BookingEditSubmissionResult::STATUS_TIMEOUT,
|
||||
null,
|
||||
|
||||
Reference in new issue
Block a user