Skip to content

Commit

Permalink
Merge pull request #1069 from jonathanmv/patch-1
Browse files Browse the repository at this point in the history
docs: added missing flat arrow on Mockery::pattern() example
  • Loading branch information
davedevelopment committed Jun 5, 2020
2 parents 8ea35ce + dfa9cb6 commit ab3e2a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/reference/argument_validation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ the ``\Mockery::pattern()``:
// Hamcrest equivalent
$mock->shouldReceive('foo')
with(matchesPattern('/^foo/'));
->with(matchesPattern('/^foo/'));
The ``ducktype()`` matcher is an alternative to matching by class type:

Expand Down

0 comments on commit ab3e2a7

Please sign in to comment.