Skip to content

Commit 323f756

Browse files
committed
Update
1 parent 0b04d48 commit 323f756

File tree

3 files changed

+5
-15
lines changed

3 files changed

+5
-15
lines changed

lib/Core/Service/ServiceProvider.php

+2
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@ interface ServiceProvider
2525
* // exit immediately
2626
* return new Success();
2727
* }
28+
*
29+
* @return list<string>
2830
*/
2931
public function services(): array;
3032
}

phpstan-baseline.neon

-15
Original file line numberDiff line numberDiff line change
@@ -175,11 +175,6 @@ parameters:
175175
count: 1
176176
path: lib/Core/Service/ServiceManager.php
177177

178-
-
179-
message: "#^Method Phpactor\\\\LanguageServer\\\\Core\\\\Service\\\\ServiceProvider\\:\\:services\\(\\) return type has no value type specified in iterable type array\\.$#"
180-
count: 1
181-
path: lib/Core/Service/ServiceProvider.php
182-
183178
-
184179
message: "#^Method Phpactor\\\\LanguageServer\\\\Event\\\\FilesChanged\\:\\:events\\(\\) return type has no value type specified in iterable type array\\.$#"
185180
count: 1
@@ -190,11 +185,6 @@ parameters:
190185
count: 1
191186
path: lib/Event/FilesChanged.php
192187

193-
-
194-
message: "#^Method Phpactor\\\\LanguageServer\\\\Example\\\\Service\\\\PingProvider\\:\\:services\\(\\) return type has no value type specified in iterable type array\\.$#"
195-
count: 1
196-
path: lib/Example/Service/PingProvider.php
197-
198188
-
199189
message: "#^Method Phpactor\\\\LanguageServer\\\\Handler\\\\System\\\\ServiceHandler\\:\\:runningServices\\(\\) return type has no value type specified in iterable type array\\.$#"
200190
count: 1
@@ -250,11 +240,6 @@ parameters:
250240
count: 1
251241
path: lib/Service/DiagnosticsService.php
252242

253-
-
254-
message: "#^Method Phpactor\\\\LanguageServer\\\\Service\\\\DiagnosticsService\\:\\:services\\(\\) return type has no value type specified in iterable type array\\.$#"
255-
count: 1
256-
path: lib/Service/DiagnosticsService.php
257-
258243
-
259244
message: "#^Method Phpactor\\\\LanguageServer\\\\Test\\\\LanguageServerTester\\:\\:mustRequestAndWait\\(\\) has parameter \\$params with no value type specified in iterable type array\\.$#"
260245
count: 1

phpstan.neon

+3
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,6 @@ parameters:
66
- lib
77
- example
88
- bin
9+
10+
includes:
11+
- phpstan-baseline.neon

0 commit comments

Comments
 (0)