diff --git a/_posts/2024-05-03-Intro-to-dependency-injection-in-PHP.md b/_posts/2024-05-03-Intro-to-dependency-injection-in-PHP.md index f56fd83..e454475 100644 --- a/_posts/2024-05-03-Intro-to-dependency-injection-in-PHP.md +++ b/_posts/2024-05-03-Intro-to-dependency-injection-in-PHP.md @@ -182,7 +182,6 @@ Let's take a step back and think about all constructors that are possible. There public function __construct($foo); // Without type public function __construct(mixed $foo); // With mixed type public function __construct(string $foo); // With string type -public function __construct(A $foo); // With class type public function __construct(A|B $foo); // With Union type of classes public function __construct(A&C $foo); // With Intersection type of classes ```