Completed
Push — master ( 45d858...8571e4 )
by Juliette
14s
created
Sniffs/PHP/RequiredOptionalFunctionParametersSniff.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1104,7 +1104,7 @@
 block discarded – undo
1104 1104
     /**
1105 1105
      * Returns an array of tokens this test wants to listen for.
1106 1106
      *
1107
-     * @return array
1107
+     * @return integer[]
1108 1108
      */
1109 1109
     public function register()
1110 1110
     {
Please login to merge, or discard this patch.
Sniff.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -324,7 +324,7 @@
 block discarded – undo
324 324
      * @param int                  $stackPtr      The position of the function call token.
325 325
      * @param int                  $paramPosition The 0-based index position of the parameter to retrieve.
326 326
      *
327
-     * @return array|false
327
+     * @return string
328 328
      */
329 329
     public function getFunctionCallParameter(PHP_CodeSniffer_File $phpcsFile, $stackPtr, $paramPosition)
330 330
     {
Please login to merge, or discard this patch.
Tests/Sniffs/PHP/ParameterShadowSuperGlobalsSniffTest.php 1 patch
Doc Comments   -4 removed lines patch added patch discarded remove patch
@@ -26,10 +26,6 @@
 block discarded – undo
26 26
      * @dataProvider dataParameterShadowSuperGlobals
27 27
      *
28 28
      * @param int    $line  Line number where the error should occur.
29
-     * @param string $octal (Start of) Binary number as a string.
30
-     * @param bool   $testNoViolation Whether or not to test for noViolation.
31
-     *               Defaults to true. Set to false if another error is
32
-     *               expected on the same line (invalid binary)
33 29
      *
34 30
      * @return void
35 31
      */
Please login to merge, or discard this patch.