We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ccc9a83 commit f7401dbCopy full SHA for f7401db
1 file changed
README.md
@@ -240,7 +240,7 @@ namespace Foo {
240
241
class Ringer
242
{
243
- public function ring(Telephone $telephone): Person
+ public function ring(Telephone $telephone): void
244
245
$telephone->ring(); // ERROR - Can only all Telephone::ring() from namespace Bar
246
}
@@ -253,7 +253,7 @@ namespace Bar {
253
254
class AnotherRinger
255
256
257
258
$telephone->ring(); // OK - Allowed to call Telephone::ring() from namespace Bar
259
0 commit comments