Skip to content

Commit

Permalink
Update core-code-style.md (yiisoft#19008)
Browse files Browse the repository at this point in the history
Changed Section 4 from CamelCase to StudlyCase to match the overview and Section 3.
  • Loading branch information
jgoetz authored and AnkIF committed Nov 17, 2021
1 parent 320b2ea commit 36e20eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/internals/core-code-style.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ Class names MUST be declared in `StudlyCaps`. For example, `Controller`, `Model`

The term "class" refers to all classes and interfaces here.

- Classes should be named using `CamelCase`.
- Classes should be named using `StudlyCase`.
- The brace should always be written on the line underneath the class name.
- Every class must have a documentation block that conforms to the PHPDoc.
- All code in a class must be indented with 4 spaces.
Expand Down

0 comments on commit 36e20eb

Please sign in to comment.