Completed
Pull Request — develop (#1492)
by Zack
28:58 queued 09:00
created
src/Standards/Squiz/Sniffs/WhiteSpace/SemicolonSpacingSniff.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.
php_codesniffer/src/Standards/Squiz/Tests/Debug/JavaScriptLintUnitTest.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@
 block discarded – undo
19 19
     /**
20 20
      * Should this test be skipped for some reason.
21 21
      *
22
-     * @return void
22
+     * @return boolean
23 23
      */
24 24
     protected function shouldSkipTest()
25 25
     {
Please login to merge, or discard this patch.
php_codesniffer/src/Standards/Squiz/Tests/Debug/JSLintUnitTest.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@
 block discarded – undo
19 19
     /**
20 20
      * Should this test be skipped for some reason.
21 21
      *
22
-     * @return void
22
+     * @return boolean
23 23
      */
24 24
     protected function shouldSkipTest()
25 25
     {
Please login to merge, or discard this patch.
php_codesniffer/src/Standards/Zend/Tests/Debug/CodeAnalyzerUnitTest.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@
 block discarded – undo
19 19
     /**
20 20
      * Should this test be skipped for some reason.
21 21
      *
22
-     * @return void
22
+     * @return boolean
23 23
      */
24 24
     protected function shouldSkipTest()
25 25
     {
Please login to merge, or discard this patch.
wpcs/WordPress/Sniffs/Security/NonceVerificationSniff.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -165,7 +165,7 @@
 block discarded – undo
165 165
 	/**
166 166
 	 * Returns an array of tokens this test wants to listen for.
167 167
 	 *
168
-	 * @return array
168
+	 * @return integer[]
169 169
 	 */
170 170
 	public function register() {
171 171
 
Please login to merge, or discard this patch.
wpcs/WordPress/Sniffs/WhiteSpace/PrecisionAlignmentSniff.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
 	/**
30 30
 	 * Returns an array of tokens this test wants to listen for.
31 31
 	 *
32
-	 * @return array
32
+	 * @return integer[]
33 33
 	 */
34 34
 	public function register() {
35 35
 		return array(
Please login to merge, or discard this patch.
wpcs/WordPress/PHPCSHelper.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -93,7 +93,7 @@
 block discarded – undo
93 93
 	 *
94 94
 	 * @param \PHP_CodeSniffer\Files\File $phpcsFile Optional. The current file being processed.
95 95
 	 *
96
-	 * @return bool True if annotations should be ignored, false otherwise.
96
+	 * @return boolean|null True if annotations should be ignored, false otherwise.
97 97
 	 */
98 98
 	public static function ignore_annotations( File $phpcsFile = null ) {
99 99
 		if ( isset( $phpcsFile, $phpcsFile->config->annotations ) ) {
Please login to merge, or discard this patch.
wpcs/WordPress/Sniff.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -951,7 +951,7 @@  discard block
 block discarded – undo
951 951
 	 * @param bool   $is_error  Optional. Whether to report the message as an 'error' or 'warning'.
952 952
 	 *                          Defaults to true (error).
953 953
 	 * @param string $code      Optional error code for the message. Defaults to 'Found'.
954
-	 * @param array  $data      Optional input for the data replacements.
954
+	 * @param string[]  $data      Optional input for the data replacements.
955 955
 	 * @param int    $severity  Optional. Severity level. Defaults to 0 which will translate to
956 956
 	 *                          the PHPCS default severity level.
957 957
 	 * @return bool
@@ -970,7 +970,7 @@  discard block
 block discarded – undo
970 970
 	 * @param bool   $is_error  Optional. Whether to report the message as an 'error' or 'warning'.
971 971
 	 *                          Defaults to true (error).
972 972
 	 * @param string $code      Optional error code for the message. Defaults to 'Found'.
973
-	 * @param array  $data      Optional input for the data replacements.
973
+	 * @param string[]  $data      Optional input for the data replacements.
974 974
 	 * @param int    $severity  Optional. Severity level. Defaults to 0 which will translate to
975 975
 	 *                          the PHPCS default severity level.
976 976
 	 * @return bool
Please login to merge, or discard this patch.
wpcs/WordPress/Sniffs/DB/DirectDatabaseQuerySniff.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
 	/**
30 30
 	 * Returns an array of tokens this test wants to listen for.
31 31
 	 *
32
-	 * @return array
32
+	 * @return integer[]
33 33
 	 */
34 34
 	public function register() {
35 35
 		return array(
Please login to merge, or discard this patch.