diff --git a/src/Registry.php b/src/Registry.php index 73d3c1b..153b7bf 100644 --- a/src/Registry.php +++ b/src/Registry.php @@ -45,7 +45,7 @@ public static function getInstance(): Registry */ protected function __construct() { - throw new Exception("Cannot create a new Registry."); + } /** @@ -53,7 +53,7 @@ protected function __construct() */ protected function __clone() { - throw new Exception("Cannot clone a Registry."); + } /**