Skip to content

Commit

Permalink
#3120 marked InvocationMocker#will() : self return type mismatch as…
Browse files Browse the repository at this point in the history
… false positive

The method `InvocationMocker#will()` is LSP-compliant with the parent
types, but a bug in psalm reports it as a false positive.

Ref: vimeo/psalm#2102
  • Loading branch information
Ocramius authored and sebastianbergmann committed Sep 6, 2019
1 parent fd826e1 commit 21a9c6d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .psalm/baseline.xml
Expand Up @@ -97,6 +97,9 @@
<ImplementedReturnTypeMismatch occurrences="1">
<code>self</code>
</ImplementedReturnTypeMismatch>
<MethodSignatureMismatch occurrences="1">
<code>InvocationMocker</code>
</MethodSignatureMismatch>
<UndefinedInterfaceMethod occurrences="1">
<code>registerId</code>
</UndefinedInterfaceMethod>
Expand Down

0 comments on commit 21a9c6d

Please sign in to comment.