Commit de28c1c5 by Alexander Makarov

Merge pull request #6993 from softark/docs-internals-small-fix

docs/internals/core-code-style.md - removed a duplicated block [ci skip]
parents 560ad04e 15bfe694
...@@ -146,15 +146,6 @@ class Foo ...@@ -146,15 +146,6 @@ class Foo
- All PHP types and values should be used lowercase. That includes `true`, `false`, `null` and `array`. - All PHP types and values should be used lowercase. That includes `true`, `false`, `null` and `array`.
Use the following format for associative arrays:
```php
$config = [
'name' => 'Yii',
'options' => ['usePHP' => true],
];
```
Changing type of an existing variable is considered as a bad practice. Try not to write such code unless it is really necessary. Changing type of an existing variable is considered as a bad practice. Try not to write such code unless it is really necessary.
......
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