Skip to content

Commit d970cba

Browse files
authored
Update README.md
1 parent aa02896 commit d970cba

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44
[![Latest Stable Version](https://poser.pugx.org/phpstan/phpstan-mockery/v/stable)](https://packagist.org/packages/phpstan/phpstan-mockery)
55
[![License](https://poser.pugx.org/phpstan/phpstan-mockery/license)](https://packagist.org/packages/phpstan/phpstan-mockery)
66

7-
* [PHPStan](https://github.com/phpstan/phpstan)
7+
* [PHPStan](https://phpstan.org/)
88
* [Mockery](https://github.com/mockery/mockery)
99

1010
This extension provides the following features:
1111

1212
* Interprets `Foo|\Mockery\MockInterface` in phpDoc so that it results in an intersection type instead of a union type.
13-
* `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.
13+
* `Mockery::mock()` and `Mockery::spy()` return an intersection type (see the [detailed explanation of intersection types](https://phpstan.org/blog/union-types-vs-intersection-types)) so that the returned object can be used as both the mock object and the mocked class object.
1414
* `shouldReceive()`, `allows()` and `expects()` methods can be called on the mock object and they work as expected.
1515

1616

0 commit comments

Comments
 (0)