From 978a05d765bce0d27052ccfb58c22fdc7d7b7c57 Mon Sep 17 00:00:00 2001 From: n0nag0n Date: Mon, 1 Jan 2024 16:54:20 -0700 Subject: [PATCH] Flight class 100% coverage (too easy!) --- flight/Flight.php | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/flight/Flight.php b/flight/Flight.php index e6cdcac..69a8b65 100644 --- a/flight/Flight.php +++ b/flight/Flight.php @@ -57,11 +57,22 @@ class Flight */ private static Engine $engine; - // Don't allow object instantiation + /** + * Don't allow object instantiation + * + * @codeCoverageIgnore + * @return void + */ private function __construct() { } + /** + * Forbid cloning the class + * + * @codeCoverageIgnore + * @return void + */ private function __clone() { }