Commit 8b4dbff5 by Alexander Makarov

Closes #3281: removed strict rule about using "new" from code style

parent 0ad7c05e
...@@ -139,7 +139,6 @@ class Foo ...@@ -139,7 +139,6 @@ class Foo
### 4.5 Constructors ### 4.5 Constructors
- `__construct` should be used instead of PHP 4 style constructors. - `__construct` should be used instead of PHP 4 style constructors.
- When instantiating class it should be `new MyClass();` instead of `new MyClass;`.
## 5 PHP ## 5 PHP
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment