3737 *
3838 * @author Johan Cwiklinski <johan@x-tnd.be>
3939 *
40- * @property integer $id
40+ * @property int $id
4141 * @property string $registration
4242 * @property string $name
4343 * @property string $first_registration_date
4444 * @property string $first_circulation_date
45- * @property integer $mileage
45+ * @property int $mileage
4646 * @property string $comment
4747 * @property string $chassis_number
48- * @property integer $seats
49- * @property integer $horsepower
50- * @property integer $engine_size
48+ * @property int $seats
49+ * @property int $horsepower
50+ * @property int $engine_size
5151 * @property string $creation_date
52- * @property integer $fuel
52+ * @property int $fuel
5353 * @property Color $color
5454 * @property Body $body
5555 * @property State $state
@@ -209,9 +209,9 @@ public function __construct(Plugins $plugins, Db $zdb, ?ArrayObject $args = null
209209 /**
210210 * Loads a car from its id
211211 *
212- * @param integer $id the identifiant for the car to load
212+ * @param int $id the identifiant for the car to load
213213 *
214- * @return boolean
214+ * @return bool
215215 */
216216 public function load (int $ id ): bool
217217 {
@@ -305,10 +305,10 @@ public function listFuels(): array
305305 /**
306306 * Stores the vehicle in the database
307307 *
308- * @param boolean $new true if it's a new record, false to update on
309- * that already exists. Defaults to false
308+ * @param bool $new true if it's a new record, false to update on
309+ * that already exists. Defaults to false
310310 *
311- * @return boolean
311+ * @return bool
312312 */
313313 public function store (bool $ new = false ): bool
314314 {
@@ -454,8 +454,8 @@ public function store(bool $new = false): bool
454454 /**
455455 * List object's properties
456456 *
457- * @param boolean $restrict true to exclude $this->internals from returned
458- * result, false otherwise. Default to false
457+ * @param bool $restrict true to exclude $this->internals from returned
458+ * result, false otherwise. Default to false
459459 *
460460 * @return array
461461 */
@@ -492,7 +492,7 @@ public function getProperties(): array
492492 /**
493493 * Does the current car has a picture?
494494 *
495- * @return boolean
495+ * @return bool
496496 */
497497 public function hasPicture (): bool
498498 {
@@ -637,7 +637,7 @@ public function __set(string $name, mixed $value): void
637637 *
638638 * @param string $name name of the property we want to retrieve
639639 *
640- * @return boolean
640+ * @return bool
641641 */
642642 public function __isset (string $ name ): bool
643643 {
@@ -660,7 +660,7 @@ public function __isset(string $name): bool
660660 * @param array $post All values to check, basically the $_POST array
661661 * after sending the form
662662 *
663- * @return boolean
663+ * @return bool
664664 */
665665 public function check (array $ post ): bool
666666 {
0 commit comments