Skip to content

Commit

Permalink
Merge branch 'feature-mb-without-setmethods' of https://github.com/Ki…
Browse files Browse the repository at this point in the history
…ng2500/phpuaca into unstable-2
  • Loading branch information
maxfilatov committed Jan 2, 2016
2 parents 5d6d5e7 + a0ec1bd commit 811c75f
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ public InvocationMockerFilter(FilterContext context) {
MethodReference definitionMethodReference = (new PhpMethodChain(methodReference)).findMethodReference("setMethods");
if (definitionMethodReference == null) {
definitionMethodReference = methodReference;
allowMethods();
}

ParameterList parameterList = definitionMethodReference.getParameterList();
Expand Down

0 comments on commit 811c75f

Please sign in to comment.