Commit 6e592f03 by Alexander Makarov

added info about function braces to code style

parent 57bf3157
...@@ -152,6 +152,7 @@ It's preferrable to define class level constants rather than global ones. ...@@ -152,6 +152,7 @@ It's preferrable to define class level constants rather than global ones.
- Name should be descriptive by itself indicating the purpose of the function. - Name should be descriptive by itself indicating the purpose of the function.
- Class methods should always declare visibility using `private`, `protected` and - Class methods should always declare visibility using `private`, `protected` and
`public` modifiers. `var` is not allowed. `public` modifiers. `var` is not allowed.
- Opening brace of a function should be on the line after the function declaration.
~~~ ~~~
/** /**
......
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