Completed
Pull Request — master (#50)
by
unknown
32:35 queued 21:26
created
squizlabs/php_codesniffer/CodeSniffer/Standards/AbstractScopeSniff.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -72,7 +72,7 @@
 block discarded – undo
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
Please login to merge, or discard this patch.
Standards/Generic/Sniffs/CodeAnalysis/UselessOverridingMethodSniff.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -43,7 +43,7 @@
 block discarded – undo
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
     {
Please login to merge, or discard this patch.
CodeSniffer/Standards/MySource/Sniffs/Channels/IncludeOwnSystemSniff.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -30,7 +30,7 @@  discard block
 block discarded – undo
30 30
     /**
31 31
      * Returns an array of tokens this test wants to listen for.
32 32
      *
33
-     * @return array
33
+     * @return integer[]
34 34
      */
35 35
     public function register()
36 36
     {
@@ -93,7 +93,7 @@  discard block
 block discarded – undo
93 93
      * @param int                  $stackPtr  The position in the tokens array of the
94 94
      *                                        potentially included class.
95 95
      *
96
-     * @return string
96
+     * @return boolean
97 97
      */
98 98
     protected function getIncludedClassFromToken(
99 99
         PHP_CodeSniffer_File $phpcsFile,
Please login to merge, or discard this patch.
CodeSniffer/Standards/PSR2/Sniffs/Files/EndFileNewlineSniff.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
     {
Please login to merge, or discard this patch.
CodeSniffer/Standards/PSR2/Sniffs/Namespaces/UseDeclarationSniff.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@  discard block
 block discarded – undo
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
     {
@@ -145,7 +145,7 @@  discard block
 block discarded – undo
145 145
      * @param int                  $stackPtr  The position of the current token in
146 146
      *                                        the stack passed in $tokens.
147 147
      *
148
-     * @return void
148
+     * @return boolean
149 149
      */
150 150
     private function _shouldIgnoreUse(PHP_CodeSniffer_File $phpcsFile, $stackPtr)
151 151
     {
Please login to merge, or discard this patch.
CodeSniffer/Standards/Squiz/Sniffs/CSS/ShorthandSizeSniff.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -55,7 +55,7 @@
 block discarded – undo
55 55
     /**
56 56
      * Returns the token types that this sniff is interested in.
57 57
      *
58
-     * @return int[]
58
+     * @return string[]
59 59
      */
60 60
     public function register()
61 61
     {
Please login to merge, or discard this patch.
php_codesniffer/CodeSniffer/Standards/Squiz/Sniffs/Debug/JSLintSniff.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -39,7 +39,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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)
Please login to merge, or discard this patch.
Standards/Squiz/Sniffs/Functions/MultiLineFunctionDeclarationSniff.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -55,7 +55,7 @@
 block discarded – undo
55 55
      * @param array                $tokens      The stack of tokens that make up
56 56
      *                                          the file.
57 57
      *
58
-     * @return void
58
+     * @return boolean
59 59
      */
60 60
     public function isMultiLineDeclaration(PHP_CodeSniffer_File $phpcsFile, $stackPtr, $openBracket, $tokens)
61 61
     {
Please login to merge, or discard this patch.
CodeSniffer/Standards/Squiz/Sniffs/WhiteSpace/FunctionSpacingSniff.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -41,7 +41,7 @@
 block discarded – undo
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
     {
Please login to merge, or discard this patch.