From b53ceca86b3e626d4c7d6c9ec766628d6703f1de Mon Sep 17 00:00:00 2001 From: Rob Allen Date: Fri, 14 Jun 2024 09:51:41 +0100 Subject: [PATCH] Typo fix --- _posts/2024-06-13-slim-4.14.0-release.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_posts/2024-06-13-slim-4.14.0-release.md b/_posts/2024-06-13-slim-4.14.0-release.md index 685a3786..f643c739 100644 --- a/_posts/2024-06-13-slim-4.14.0-release.md +++ b/_posts/2024-06-13-slim-4.14.0-release.md @@ -28,7 +28,7 @@ To inform the static analyzer that we created Slim\App with PHP-DI, we For your codebase, if you type hint Slim\App instance variables using /** @var \Slim\App $app */, then you will need to change it to either: -* /** @var \Slim\App $app */ if you are not using a DI container, or +* /** @var \Slim\App<null> $app */ if you are not using a DI container, or * /** @var \Slim\App<\Psr\Container\ContainerInterface> $app */ if you are. As noted above, you can also type hint to the concrete instance of the container you are using too.