@@ -39,7 +39,7 @@ |
||
39 | 39 | /** |
40 | 40 | * Returns the token types that this sniff is interested in. |
41 | 41 | * |
42 | - * @return int[] |
|
42 | + * @return integer[] |
|
43 | 43 | */ |
44 | 44 | public function register() |
45 | 45 | { |
@@ -39,7 +39,7 @@ discard block |
||
39 | 39 | /** |
40 | 40 | * Returns the token types that this sniff is interested in. |
41 | 41 | * |
42 | - * @return int[] |
|
42 | + * @return integer[] |
|
43 | 43 | */ |
44 | 44 | public function register() |
45 | 45 | { |
@@ -55,7 +55,7 @@ discard block |
||
55 | 55 | * @param int $stackPtr The position in the stack where |
56 | 56 | * the token was found. |
57 | 57 | * |
58 | - * @return void |
|
58 | + * @return null|integer |
|
59 | 59 | * @throws PHP_CodeSniffer_Exception If jslint.js could not be run |
60 | 60 | */ |
61 | 61 | public function process(PHP_CodeSniffer_File $phpcsFile, $stackPtr) |
@@ -37,7 +37,7 @@ |
||
37 | 37 | * |
38 | 38 | * @param string $testFile The name of the file being tested. |
39 | 39 | * |
40 | - * @return array |
|
40 | + * @return string[] |
|
41 | 41 | */ |
42 | 42 | public function getCliValues($testFile) |
43 | 43 | { |
@@ -37,7 +37,7 @@ |
||
37 | 37 | * |
38 | 38 | * @param string $testFile The name of the file being tested. |
39 | 39 | * |
40 | - * @return array |
|
40 | + * @return string[] |
|
41 | 41 | */ |
42 | 42 | public function getCliValues($testFile) |
43 | 43 | { |
@@ -32,7 +32,7 @@ discard block |
||
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 | { |
@@ -48,7 +48,7 @@ discard block |
||
48 | 48 | * @param int $stackPtr The position of the current token in |
49 | 49 | * the stack passed in $tokens. |
50 | 50 | * |
51 | - * @return void |
|
51 | + * @return integer |
|
52 | 52 | */ |
53 | 53 | public function process(PHP_CodeSniffer_File $phpcsFile, $stackPtr) |
54 | 54 | { |
@@ -36,10 +36,10 @@ discard block |
||
36 | 36 | * @var array |
37 | 37 | */ |
38 | 38 | public $supportedTokenizers = array( |
39 | - 'PHP', |
|
40 | - 'JS', |
|
41 | - 'CSS', |
|
42 | - ); |
|
39 | + 'PHP', |
|
40 | + 'JS', |
|
41 | + 'CSS', |
|
42 | + ); |
|
43 | 43 | |
44 | 44 | |
45 | 45 | /** |
@@ -74,7 +74,7 @@ discard block |
||
74 | 74 | T_INLINE_HTML => true, |
75 | 75 | T_DOC_COMMENT_WHITESPACE => true, |
76 | 76 | T_DOC_COMMENT_STRING => true, |
77 | - ); |
|
77 | + ); |
|
78 | 78 | |
79 | 79 | for ($i = ($stackPtr + 1); $i < $phpcsFile->numTokens; $i++) { |
80 | 80 | if (isset($checkTokens[$tokens[$i]['code']]) === false) { |
@@ -35,7 +35,7 @@ |
||
35 | 35 | /** |
36 | 36 | * Should this test be skipped for some reason. |
37 | 37 | * |
38 | - * @return void |
|
38 | + * @return boolean |
|
39 | 39 | */ |
40 | 40 | protected function shouldSkipTest() |
41 | 41 | { |
@@ -57,7 +57,7 @@ |
||
57 | 57 | 48 => 1, |
58 | 58 | 70 => 1, |
59 | 59 | 71 => 1, |
60 | - ); |
|
60 | + ); |
|
61 | 61 | |
62 | 62 | }//end getErrorList() |
63 | 63 |
@@ -37,7 +37,7 @@ |
||
37 | 37 | * |
38 | 38 | * @param string $testFile The name of the file being tested. |
39 | 39 | * |
40 | - * @return array |
|
40 | + * @return string[] |
|
41 | 41 | */ |
42 | 42 | public function getCliValues($testFile) |
43 | 43 | { |
@@ -37,7 +37,7 @@ |
||
37 | 37 | * |
38 | 38 | * @param string $testFile The name of the file being tested. |
39 | 39 | * |
40 | - * @return array |
|
40 | + * @return string[] |
|
41 | 41 | */ |
42 | 42 | public function getCliValues($testFile) |
43 | 43 | { |
@@ -41,7 +41,7 @@ |
||
41 | 41 | /** |
42 | 42 | * Returns an array of tokens this test wants to listen for. |
43 | 43 | * |
44 | - * @return array |
|
44 | + * @return integer[] |
|
45 | 45 | */ |
46 | 46 | public function register() |
47 | 47 | { |