Skip to content

Commit

Permalink
Revert "Add psalm conditional type test for InjectorInterface"
Browse files Browse the repository at this point in the history
This reverts commit 473ca73.
  • Loading branch information
koriym committed Nov 5, 2021
1 parent d69173a commit 1039831
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 28 deletions.
1 change: 0 additions & 1 deletion phpstan.neon
Expand Up @@ -5,7 +5,6 @@ parameters:
- src/compiler
- tests/di
- tests/compiler
- tests/type
excludePaths:
- tests/tmp/*
- tests/di/tmp/*
Expand Down
1 change: 0 additions & 1 deletion psalm.xml
Expand Up @@ -7,7 +7,6 @@
>
<projectFiles>
<directory name="src/di" />
<directory name="tests/type" />
<ignoreFiles>
<directory name="vendor" />
<directory name="tests" />
Expand Down
2 changes: 2 additions & 0 deletions src/di/Injector.php
Expand Up @@ -84,6 +84,8 @@ public function getInstance($interface, $name = Name::ANY)
}

/**
* @phpstan-param class-string|string $class
*
* @throws AnnotationException
*/
private function bind(string $class): void
Expand Down
26 changes: 0 additions & 26 deletions tests/type/InjectorInterfaceTest.php

This file was deleted.

0 comments on commit 1039831

Please sign in to comment.