Skip to content

Commit 43b775d

Browse files
committed
minor comment
1 parent 586bb73 commit 43b775d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: docs/coding-standard.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ class Memory extends Adapter
8080

8181
### Methods
8282
- Method names must be declared in camelCase.
83-
- Methods must be sorted alphabetically and based on their visibility. The order is `public`, `protected`, and `private`. `__construct` if defined must be at the top of the class.
83+
- Methods must be sorted alphabetically and based on their visibility. The order is `public`, `protected`, and `private`. `__construct` if defined must be at the top of the class, as well as any other PHP magic methods (also sorted alphabetically).
8484
- Method names must not be prefixed with underscore `_`.
8585
- All methods must have a return type. If the method does not return anything it should be marked `void`
8686
- Opening braces for methods must go on the next line, and closing braces must go on the next line after the body.

0 commit comments

Comments
 (0)