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 85d34f1 commit 67df150Copy full SHA for 67df150
tests/SearcherTest.php
@@ -295,6 +295,7 @@ public function it_can_handle_nullable_parameters()
295
{
296
$results = $this->getSearcher()
297
->functions(['testFive'])
298
+ ->static(['one'])
299
->search(tests_path('data/file5.php'));
300
301
$this->assertMatchesSnapshot($results->results);
tests/data/file5.php
@@ -4,3 +4,15 @@ function testFive(?string $one)
4
5
return 'one';
6
}
7
+
8
+class MyClassFive
9
+{
10
+ public static function one(?int $value): ?int
11
+ {
12
+ return 1;
13
+ }
14
+}
15
16
+MyClassFive::one(null);
17
18
0 commit comments