diff --git a/src/Core/Container.php b/src/Core/Container.php index 8d69799122..1017590a85 100644 --- a/src/Core/Container.php +++ b/src/Core/Container.php @@ -14,15 +14,6 @@ namespace Friendica\Core; */ interface Container { - /** - * Initialize the container with the given parameters - * - * @deprecated - * - * @return void - */ - public function setup(): void; - /** * Returns a fully constructed object based on $name using $args and $share as constructor arguments if supplied * @param string $name name The name of the class to instantiate diff --git a/src/Core/DiceContainer.php b/src/Core/DiceContainer.php index acbb0862b9..304c1e411d 100644 --- a/src/Core/DiceContainer.php +++ b/src/Core/DiceContainer.php @@ -32,18 +32,6 @@ final class DiceContainer implements Container $this->container = $container; } - /** - * Initialize the container with the given parameters - * - * @deprecated - * - * @return void - */ - public function setup(): void - { - // this method can be removed - } - /** * Returns a fully constructed object based on $name using $args and $share as constructor arguments if supplied * @param string $name name The name of the class to instantiate