Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitbf9d509

Browse files
committed
added a note about types we support
1 parent252ffe7 commitbf9d509

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

‎contributing/code/standards.rst‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,10 @@ Naming Conventions
130130

131131
* Use alphanumeric characters and underscores for file names;
132132

133+
* For type-hinting in PHPDocs and casting, use ``bool`` (instead of ``boolean``
134+
or ``Boolean``), ``int`` (instead of ``integer``), ``float`` (instead of
135+
``double`` or ``real``);
136+
133137
* Don't forget to look at the more verbose:doc:`conventions` document for
134138
more subjective naming considerations.
135139

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp