Flight class 100% coverage (too easy!)

pull/501/head
n0nag0n 1 year ago
parent 7b15d2cfca
commit 978a05d765

@ -57,11 +57,22 @@ class Flight
*/ */
private static Engine $engine; private static Engine $engine;
// Don't allow object instantiation /**
* Don't allow object instantiation
*
* @codeCoverageIgnore
* @return void
*/
private function __construct() private function __construct()
{ {
} }
/**
* Forbid cloning the class
*
* @codeCoverageIgnore
* @return void
*/
private function __clone() private function __clone()
{ {
} }

Loading…
Cancel
Save