Skip to content

Commit 2d833d8

Browse files
authored
Merge pull request #123 from DanielEScherzer/patch-2
Spec section 4: static methods should be called statically
2 parents e57d051 + d26a46a commit 2d833d8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -374,7 +374,7 @@ parentheses. For example:
374374

375375
```php
376376
new Foo()->someMethod();
377-
new Foo()->someStaticMethod();
377+
new Foo()::someStaticMethod();
378378
new Foo()->someProperty;
379379
new Foo()::$someStaticProperty;
380380
new Foo()::SOME_CONSTANT;

0 commit comments

Comments
 (0)