-
-
Notifications
You must be signed in to change notification settings - Fork 101
Expand file tree
/
Copy pathFunctionCommentUnitTest.3.inc
More file actions
33 lines (29 loc) · 832 Bytes
/
FunctionCommentUnitTest.3.inc
File metadata and controls
33 lines (29 loc) · 832 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
<?php
// phpcs:set Squiz.Commenting.FunctionComment useShortTypes false
/**
* Type check for function with both long and short types.
*
* @param bool $a1 Comment here.
* @param boolean $a2 Comment here.
* @param int $a3 Comment here.
* @param integer $a4 Comment here.
*
* @return void
*/
function mixedLongAndShortUseLong(bool $a1, bool $a2, int $a3, int $a4)
{
}//end mixedLongAndShortUseLong()
// phpcs:set Squiz.Commenting.FunctionComment useShortTypes true
/**
* Type check for function with both long and short types.
*
* @param bool $a1 Comment here.
* @param boolean $a2 Comment here.
* @param int $a3 Comment here.
* @param integer $a4 Comment here.
*
* @return void
*/
function mixedLongAndShortUseShort(bool $a1, bool $a2, int $a3, int $a4)
{
}//end mixedLongAndShortUseShort()