Commit eba0a1e
authored
Use fully qualified type annotation
Fixes #102 Type annotations misinterpreted by phpstan
When using this library in a project which uses [phpstan][] for code analysis it gives the following error.
Call to method then() on an unknown class
React\Socket\React\Promise\PromiseInterface.1 parent 8f880ab commit eba0a1e
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
54 | | - | |
| 54 | + | |
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
| |||
0 commit comments