Skip to content

Commit

Permalink
Fixed syntax error in example
Browse files Browse the repository at this point in the history
  • Loading branch information
martinssipenko committed Aug 28, 2015
1 parent ea818ff commit 101c007
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/guide/handlers-and-middleware.rst
Expand Up @@ -68,7 +68,7 @@ them in FIFO order.
$mock = new MockHandler();
// Return a mocked result.
$mock->append(new Result(['foo' => 'bar']);
$mock->append(new Result(['foo' => 'bar']));
// You can provide a function to invoke. Here we throw a mock exception.
$mock->append(function (CommandInterface $cmd, RequestInterface $req) {
Expand Down

0 comments on commit 101c007

Please sign in to comment.