Completed
Pull Request — develop (#1492)
by Zack
28:58 queued 09:00
created
PHPCompatibility/Sniffs/FunctionDeclarations/NewClosureSniff.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -31,7 +31,7 @@
 block discarded – undo
31 31
     /**
32 32
      * Returns an array of tokens this test wants to listen for.
33 33
      *
34
-     * @return array
34
+     * @return string[]
35 35
      */
36 36
     public function register()
37 37
     {
Please login to merge, or discard this patch.
PHPCompatibility/Sniffs/InitialValue/NewConstantScalarExpressionsSniff.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -326,7 +326,7 @@
 block discarded – undo
326 326
      * @param int                   $end          The end of the value definition (inclusive),
327 327
      *                                            i.e. this token will be examined as part of
328 328
      *                                            the snippet.
329
-     * @param bool                  $nestedArrays Optional. Array nesting level when examining
329
+     * @param integer                  $nestedArrays Optional. Array nesting level when examining
330 330
      *                                            the content of an array.
331 331
      *
332 332
      * @return bool
Please login to merge, or discard this patch.
php-compatibility/PHPCompatibility/Sniffs/Keywords/NewKeywordsSniff.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -301,7 +301,7 @@
 block discarded – undo
301 301
     /**
302 302
      * Get an array of the non-PHP-version array keys used in a sub-array.
303 303
      *
304
-     * @return array
304
+     * @return string[]
305 305
      */
306 306
     protected function getNonVersionArrayKeys()
307 307
     {
Please login to merge, or discard this patch.
PHPCompatibility/Sniffs/MethodUse/NewDirectCallsToCloneSniff.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@
 block discarded – undo
35 35
      *
36 36
      * @since 9.1.0
37 37
      *
38
-     * @return array
38
+     * @return integer[]
39 39
      */
40 40
     public function register()
41 41
     {
Please login to merge, or discard this patch.
vendor/squizlabs/php_codesniffer/autoload.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -59,7 +59,7 @@  discard block
 block discarded – undo
59 59
          *
60 60
          * @param string $class The name of the class to load.
61 61
          *
62
-         * @return bool
62
+         * @return null|boolean
63 63
          */
64 64
         public static function load($class)
65 65
         {
@@ -220,7 +220,7 @@  discard block
 block discarded – undo
220 220
         /**
221 221
          * Retrieve the namespaces and paths registered by external standards.
222 222
          *
223
-         * @return array
223
+         * @return string[]
224 224
          */
225 225
         public static function getSearchPaths()
226 226
         {
Please login to merge, or discard this patch.
vendor/squizlabs/php_codesniffer/src/Files/File.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -705,7 +705,7 @@  discard block
 block discarded – undo
705 705
      * @param string $error    The error message.
706 706
      * @param int    $line     The line on which the error occurred.
707 707
      * @param string $code     A violation code unique to the sniff message.
708
-     * @param array  $data     Replacements for the error message.
708
+     * @param string[]  $data     Replacements for the error message.
709 709
      * @param int    $severity The severity level for this error. A value of 0
710 710
      *                         will be converted into the default severity level.
711 711
      *
@@ -729,7 +729,7 @@  discard block
 block discarded – undo
729 729
      * @param string $warning  The error message.
730 730
      * @param int    $line     The line on which the warning occurred.
731 731
      * @param string $code     A violation code unique to the sniff message.
732
-     * @param array  $data     Replacements for the warning message.
732
+     * @param string[]  $data     Replacements for the warning message.
733 733
      * @param int    $severity The severity level for this warning. A value of 0 will
734 734
      *                         will be converted into the default severity level.
735 735
      *
Please login to merge, or discard this patch.
vendor/squizlabs/php_codesniffer/src/Files/FileList.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -195,7 +195,7 @@
 block discarded – undo
195 195
     /**
196 196
      * Return the file path of the current file being processed.
197 197
      *
198
-     * @return void
198
+     * @return string
199 199
      */
200 200
     public function key()
201 201
     {
Please login to merge, or discard this patch.
vendor/squizlabs/php_codesniffer/src/Fixer.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -342,7 +342,7 @@  discard block
 block discarded – undo
342 342
     /**
343 343
      * Start recording actions for a changeset.
344 344
      *
345
-     * @return void
345
+     * @return false|null
346 346
      */
347 347
     public function beginChangeset()
348 348
     {
@@ -369,7 +369,7 @@  discard block
 block discarded – undo
369 369
     /**
370 370
      * Stop recording actions for a changeset, and apply logged changes.
371 371
      *
372
-     * @return boolean
372
+     * @return false|null
373 373
      */
374 374
     public function endChangeset()
375 375
     {
Please login to merge, or discard this patch.
vendor/squizlabs/php_codesniffer/src/Reports/Cbf.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -29,7 +29,7 @@
 block discarded – undo
29 29
      * its data should be counted in the grand totals.
30 30
      *
31 31
      * @param array                 $report      Prepared report data.
32
-     * @param \PHP_CodeSniffer\File $phpcsFile   The file being reported on.
32
+     * @param File $phpcsFile   The file being reported on.
33 33
      * @param bool                  $showSources Show sources?
34 34
      * @param int                   $width       Maximum allowed line width.
35 35
      *
Please login to merge, or discard this patch.