Skip to content

Commit

Permalink
Suppress psalm
Browse files Browse the repository at this point in the history
  • Loading branch information
xepozz committed Jul 6, 2024
1 parent e55726a commit 24faa51
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/Debug/Http/HttpApplicationWrapper.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ public function __construct(
) {
}

/**
* @psalm-suppress UndefinedClass
*/
public function wrap(Application $application): void
{
$middlewareDispatcher = $this->middlewareDispatcher;
Expand Down
3 changes: 3 additions & 0 deletions src/Debug/Provider/DebugApiProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,9 @@ public function getExtensions(): array
return $routeCollector;
},
];
/**
* @psalm-suppress UndefinedClass
*/
if (class_exists(Application::class)) {
$extensions[Application::class] = static function (
ContainerInterface $container,
Expand Down

0 comments on commit 24faa51

Please sign in to comment.