Skip to content

Commit

Permalink
Updated README
Browse files Browse the repository at this point in the history
  • Loading branch information
ondrejmirtes committed Aug 13, 2018
1 parent 08eec87 commit 2a30b98
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ This extension provides the following features:

* Interprets `Foo|\Mockery\MockInterface` in phpDoc so that it results in an intersection type instead of a union type.
* `Mockery::mock()` and `Mockery::spy()` return an intersection type (see the [detailed explanation of intersection types](https://medium.com/@ondrejmirtes/union-types-vs-intersection-types-fd44a8eacbb)) so that the returned object can be used as both the mock object and the mocked class object.
* `shouldReceive()` and `allows()` methods can be called on the mock object and they work as expected.
* `shouldReceive()`, `allows()` and `expects()` methods can be called on the mock object and they work as expected.

## Usage

Expand Down

0 comments on commit 2a30b98

Please sign in to comment.