Commit e38b8660 by Alexander Makarov

fixed unclear statements, added notes about one-line comments

parent 6e95233d
......@@ -54,10 +54,10 @@ $str3 = "Hello ${username}!";
### String concatenation
When concatenating strings format it like the following:
Add spaces around dot when concatenating strings:
~~~
$name = 'Yii' . ' ' . 'Framework';
$name = 'Yii' . ' Framework';
~~~
When string is long format is the following:
......@@ -302,6 +302,11 @@ public function getEventHandlers($name)
}
~~~
#### Comments
- One-line comments should be started with `//` and not `#`.
- One-line comment should be on its own line.
Yii application naming conventions
----------------------------------
......
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