We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f9964be commit ba8e646Copy full SHA for ba8e646
1 file changed
packages/discovery/tests/Fixtures/ItemWithClosureSkip.php
@@ -2,10 +2,10 @@
2
3
namespace Tempest\Discovery\Tests\Fixtures;
4
5
-use Tempest\Container\Container;
+use Psr\Container\ContainerInterface;
6
use Tempest\Discovery\SkipDiscovery;
7
8
-#[SkipDiscovery(static function (Container $container): bool {
9
- return $container->get(DependencyForItemWithClosureSkip::class)->shouldSkip;
+#[SkipDiscovery(static function (ContainerInterface $container): bool {
+ return $container->get(DependencyForItemWithClosureSkip::class)?->shouldSkip ?? false;
10
})]
11
final class ItemWithClosureSkip {}
0 commit comments