Skip to content

Commit bf9d509

Browse files
committed
added a note about types we support
1 parent 252ffe7 commit bf9d509

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)