You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/en/contributing/cakephp-coding-conventions.md
+12-34Lines changed: 12 additions & 34 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -411,40 +411,18 @@ be preceded by a newline.
411
411
412
412
Variable types for use in DocBlocks:
413
413
414
-
Type
415
-
Description
416
-
417
-
mixed
418
-
A variable with undefined (or multiple) type.
419
-
420
-
int
421
-
Integer type variable (whole number).
422
-
423
-
float
424
-
Float type (point number).
425
-
426
-
bool
427
-
Logical type (true or false).
428
-
429
-
string
430
-
String type (any value in " " or ' ').
431
-
432
-
null
433
-
Null type. Usually used in conjunction with another type.
434
-
435
-
array
436
-
Array type.
437
-
438
-
object
439
-
Object type. A specific class name should be used if possible.
440
-
441
-
resource
442
-
Resource type (returned by for example mysql_connect()).
443
-
Remember that when you specify the type as mixed, you should indicate
444
-
whether it is unknown, or what the possible types are.
445
-
446
-
callable
447
-
Callable function.
414
+
| Type | Description |
415
+
|------|-------------|
416
+
| mixed | A variable with undefined (or multiple) type. |
417
+
| int | Integer type variable (whole number). |
418
+
| float | Float type (point number). |
419
+
| bool | Logical type (true or false). |
420
+
| string | String type (any value in " " or ' '). |
421
+
| null | Null type. Usually used in conjunction with another type. |
422
+
| array | Array type. |
423
+
| object | Object type. A specific class name should be used if possible. |
424
+
| resource | Resource type (returned by for example mysql_connect()). Remember that when you specify the type as mixed, you should indicate whether it is unknown, or what the possible types are. |
0 commit comments