Commit 15bfe694 by Nobuo Kihara

docs/internals/core-code-style.md - removed a duplicated block [ci skip]

parent 560ad04e
...@@ -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