Skip to content

Commit

Permalink
rules.md: code formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
nkovacs committed Nov 21, 2016
1 parent f8170f3 commit ce38c3b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/rules.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ Rules
* Reason: Using `static` (i.e. [late static binding](http://php.net/manual/en/language.oop5.late-static-bindings.php))
allows a child class to override the method or the property.
In the case of constants and private static methods and properties,
using `static` would also allow overriding, so self must be used to prevent this.
using `static` would also allow overriding, so `self` must be used to prevent this.

* There MUST NOT be a space between the closing parenthesis and the colon in control structures using the alternative syntax.
* Reason: This is how most people write code and how the examples in the
Expand Down

0 comments on commit ce38c3b

Please sign in to comment.