@@ -44,7 +44,7 @@ |
||
44 | 44 | /** |
45 | 45 | * Returns an array of tokens this test wants to listen for. |
46 | 46 | * |
47 | - * @return integer[] |
|
47 | + * @return string[] |
|
48 | 48 | */ |
49 | 49 | public function register() |
50 | 50 | { |
@@ -403,7 +403,7 @@ discard block |
||
403 | 403 | * @param int $stackPtr The position of the current token |
404 | 404 | * in the stack passed in $tokens. |
405 | 405 | * |
406 | - * @return bool|int |
|
406 | + * @return integer|null |
|
407 | 407 | */ |
408 | 408 | protected function getLeadingCommentOrSelf(PHP_CodeSniffer_File $phpcsFile, $stackPtr) |
409 | 409 | { |
@@ -593,7 +593,7 @@ discard block |
||
593 | 593 | * @param int $stackPtr The position of the current token |
594 | 594 | * in the stack passed in $tokens. |
595 | 595 | * |
596 | - * @return bool|int |
|
596 | + * @return integer|null |
|
597 | 597 | */ |
598 | 598 | protected function getTrailingCommentOrSelf(PHP_CodeSniffer_File $phpcsFile, $stackPtr) |
599 | 599 | { |
@@ -8,8 +8,6 @@ discard block |
||
8 | 8 | |
9 | 9 | namespace SomeNamespace; |
10 | 10 | |
11 | -use SomeOtherNamespace\TooCloseClass as OtherClass; |
|
12 | - |
|
13 | 11 | class TooCloseClass |
14 | 12 | { |
15 | 13 | |
@@ -36,8 +34,6 @@ discard block |
||
36 | 34 | namespace SomeNamespace\TheUseCase; |
37 | 35 | |
38 | 36 | |
39 | -use SomeOtherNamespace\TooCloseClass as OtherClass; |
|
40 | - |
|
41 | 37 | class TooCloseClass |
42 | 38 | { |
43 | 39 | |
@@ -68,8 +64,6 @@ discard block |
||
68 | 64 | |
69 | 65 | |
70 | 66 | |
71 | -use SomeOtherNamespace\TooCloseClass as OtherClass; |
|
72 | - |
|
73 | 67 | class TooCloseClass |
74 | 68 | { |
75 | 69 |