@@ -967,7 +967,7 @@ |
||
| 967 | 967 | */ |
| 968 | 968 | public function getPlaces() |
| 969 | 969 | { |
| 970 | - return $this->lieuD.' -> '.$this->lieuA; |
|
| 970 | + return $this->lieuD . ' -> ' . $this->lieuA; |
|
| 971 | 971 | } |
| 972 | 972 | } |
| 973 | 973 | |
@@ -1,6 +1,6 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -require_once __DIR__.'/CommandInterface.php'; |
|
| 3 | +require_once __DIR__ . '/CommandInterface.php'; |
|
| 4 | 4 | |
| 5 | 5 | /** |
| 6 | 6 | * @author Laurent De Coninck <[email protected]> |
@@ -1,7 +1,7 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | 3 | require_once __DIR__ . '/../class/billing/monthly/MonthlyFlightBill.php'; |
| 4 | -require_once __DIR__.'/CommandInterface.php'; |
|
| 4 | +require_once __DIR__ . '/CommandInterface.php'; |
|
| 5 | 5 | |
| 6 | 6 | /** |
| 7 | 7 | * @author Laurent De Coninck <[email protected]> |
@@ -1,6 +1,6 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -require_once __DIR__.'/CommandHandlerInterface.php'; |
|
| 3 | +require_once __DIR__ . '/CommandHandlerInterface.php'; |
|
| 4 | 4 | |
| 5 | 5 | /** |
| 6 | 6 | * Methods to create a bill. |
@@ -20,7 +20,7 @@ |
||
| 20 | 20 | */ |
| 21 | 21 | public function handle(CommandInterface $command) |
| 22 | 22 | { |
| 23 | - if(!($command instanceof CreateReceiverMonthBillCommand)){ |
|
| 23 | + if (!($command instanceof CreateReceiverMonthBillCommand)) { |
|
| 24 | 24 | throw new \InvalidArgumentException('Command not correct'); |
| 25 | 25 | } |
| 26 | 26 | |