Skip to content

Commit

Permalink
minor comment
Browse files Browse the repository at this point in the history
  • Loading branch information
niden committed Aug 25, 2024
1 parent 586bb73 commit 43b775d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/coding-standard.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ class Memory extends Adapter

### Methods
- Method names must be declared in camelCase.
- 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.
- 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).
- Method names must not be prefixed with underscore `_`.
- All methods must have a return type. If the method does not return anything it should be marked `void`
- Opening braces for methods must go on the next line, and closing braces must go on the next line after the body.
Expand Down

0 comments on commit 43b775d

Please sign in to comment.