@@ -111,7 +111,7 @@ |
||
| 111 | 111 | |
| 112 | 112 | /** |
| 113 | 113 | * @param Product $flightProduct |
| 114 | - * @param float|int $pricePerPax |
|
| 114 | + * @param integer $pricePerPax |
|
| 115 | 115 | * |
| 116 | 116 | * @return float|int |
| 117 | 117 | */ |
@@ -27,6 +27,10 @@ |
||
| 27 | 27 | */ |
| 28 | 28 | private $billId; |
| 29 | 29 | |
| 30 | + /** |
|
| 31 | + * @param integer $flightId |
|
| 32 | + * @param integer $authorId |
|
| 33 | + */ |
|
| 30 | 34 | public function __construct($flightId, $authorId) |
| 31 | 35 | { |
| 32 | 36 | $this->flightId = $flightId; |
@@ -32,7 +32,7 @@ |
||
| 32 | 32 | } |
| 33 | 33 | |
| 34 | 34 | /** |
| 35 | - * @return CreateDamageCommand|\stdClass|null |
|
| 35 | + * @return CreateDamageCommand |
|
| 36 | 36 | */ |
| 37 | 37 | public function getObject() |
| 38 | 38 | { |
@@ -33,10 +33,10 @@ |
||
| 33 | 33 | */ |
| 34 | 34 | private function __construct(FlightId $flightId, DamageAmount $amount, $billed, AuthorId $authorId) |
| 35 | 35 | { |
| 36 | - $this->flight = $flightId; |
|
| 37 | - $this->amount = $amount; |
|
| 38 | - $this->billed = $billed; |
|
| 39 | - $this->author = $authorId; |
|
| 36 | + $this->flight = $flightId; |
|
| 37 | + $this->amount = $amount; |
|
| 38 | + $this->billed = $billed; |
|
| 39 | + $this->author = $authorId; |
|
| 40 | 40 | } |
| 41 | 41 | |
| 42 | 42 | /** |