Commit da7263f
committed
fix:
A subtle error that only occurs in vscode editor (and not when running valet); it is caused by setting the `$output` param's type hint to `string` in the docblock. But in actual fact this could be either `string` or an instance of the `ProcessOutput` class.
Fixed by adding `ProcessOutput` to type hint it in the docblock param.Diagnose::editOutput method param type hint error Expected type 'object'. Found 'string'
1 parent 98f8757 commit da7263f
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
166 | 166 | | |
167 | 167 | | |
168 | 168 | | |
169 | | - | |
| 169 | + | |
170 | 170 | | |
171 | 171 | | |
172 | 172 | | |
| |||
0 commit comments