@@ -49,7 +49,7 @@ |
||
49 | 49 | * @param boolean $showSources Show sources? |
50 | 50 | * @param int $width Maximum allowed line width. |
51 | 51 | * |
52 | - * @return boolean |
|
52 | + * @return null|boolean |
|
53 | 53 | */ |
54 | 54 | public function generateFileReport( |
55 | 55 | $report, |
@@ -72,7 +72,7 @@ |
||
72 | 72 | /** |
73 | 73 | * Constructs a new AbstractScopeTest. |
74 | 74 | * |
75 | - * @param array $scopeTokens The type of scope the test wishes to listen to. |
|
75 | + * @param integer[] $scopeTokens The type of scope the test wishes to listen to. |
|
76 | 76 | * @param array $tokens The tokens that the test wishes to listen to |
77 | 77 | * within the scope. |
78 | 78 | * @param boolean $listenOutside If true this test will also alert the |
@@ -51,7 +51,7 @@ |
||
51 | 51 | /** |
52 | 52 | * Registers the tokens that this sniff wants to listen for. |
53 | 53 | * |
54 | - * @return int[] |
|
54 | + * @return integer[] |
|
55 | 55 | */ |
56 | 56 | public function register() |
57 | 57 | { |
@@ -43,7 +43,7 @@ |
||
43 | 43 | /** |
44 | 44 | * Registers the tokens that this sniff wants to listen for. |
45 | 45 | * |
46 | - * @return int[] |
|
46 | + * @return integer[] |
|
47 | 47 | */ |
48 | 48 | public function register() |
49 | 49 | { |
@@ -40,7 +40,7 @@ |
||
40 | 40 | /** |
41 | 41 | * Returns an array of tokens this test wants to listen for. |
42 | 42 | * |
43 | - * @return array |
|
43 | + * @return string[] |
|
44 | 44 | */ |
45 | 45 | public function register() |
46 | 46 | { |
@@ -55,7 +55,7 @@ discard block |
||
55 | 55 | /** |
56 | 56 | * Returns the token types that this sniff is interested in. |
57 | 57 | * |
58 | - * @return int[] |
|
58 | + * @return integer[] |
|
59 | 59 | */ |
60 | 60 | public function register() |
61 | 61 | { |
@@ -71,7 +71,7 @@ discard block |
||
71 | 71 | * @param int $stackPtr The position in the stack where |
72 | 72 | * the token was found. |
73 | 73 | * |
74 | - * @return void |
|
74 | + * @return null|integer |
|
75 | 75 | * @throws PHP_CodeSniffer_Exception If jslint.js could not be run |
76 | 76 | */ |
77 | 77 | public function process(PHP_CodeSniffer_File $phpcsFile, $stackPtr) |
@@ -41,7 +41,7 @@ discard block |
||
41 | 41 | /** |
42 | 42 | * Returns the token types that this sniff is interested in. |
43 | 43 | * |
44 | - * @return int[] |
|
44 | + * @return integer[] |
|
45 | 45 | */ |
46 | 46 | public function register() |
47 | 47 | { |
@@ -57,7 +57,7 @@ discard block |
||
57 | 57 | * @param int $stackPtr The position in the stack where |
58 | 58 | * the token was found. |
59 | 59 | * |
60 | - * @return void |
|
60 | + * @return null|integer |
|
61 | 61 | * @throws PHP_CodeSniffer_Exception If jshint.js could not be run |
62 | 62 | */ |
63 | 63 | public function process(PHP_CodeSniffer_File $phpcsFile, $stackPtr) |
@@ -32,7 +32,7 @@ |
||
32 | 32 | /** |
33 | 33 | * Returns an array of tokens this test wants to listen for. |
34 | 34 | * |
35 | - * @return array |
|
35 | + * @return string[] |
|
36 | 36 | */ |
37 | 37 | public function register() |
38 | 38 | { |
@@ -32,7 +32,7 @@ |
||
32 | 32 | /** |
33 | 33 | * Returns an array of tokens this test wants to listen for. |
34 | 34 | * |
35 | - * @return array |
|
35 | + * @return integer[] |
|
36 | 36 | */ |
37 | 37 | public function register() |
38 | 38 | { |