Skip to content

Commit

Permalink
Fix the comment from the PR
Browse files Browse the repository at this point in the history
  • Loading branch information
dingo-d committed Aug 26, 2022
1 parent 84ef00c commit 4312cd9
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion wordpress-coding-standards/php.md
Original file line number Diff line number Diff line change
Expand Up @@ -759,7 +759,6 @@ abstract class Foo {

When instantiating a new object instance, parenthesis must always be used, even when not strictly necessary.
There should be no space between the name of the class being instantiated and the opening parenthesis.
Assigning the return value of an object instantiation by reference is not allowed (new by reference has not been supported by PHP for quite a long while now).

```php
// Correct.
Expand Down

0 comments on commit 4312cd9

Please sign in to comment.