@@ -31,7 +31,7 @@ class CheckSniffCompleteness
3131 * To disable showing progress, pass `--no-progress` on the command line
3232 * when calling the script.
3333 *
34- * @var boolean
34+ * @var bool
3535 */
3636 protected $ showProgress = true ;
3737
@@ -43,7 +43,7 @@ class CheckSniffCompleteness
4343 * To enable "quiet" mode, pass `-q` on the command line when calling
4444 * the script.
4545 *
46- * @var boolean
46+ * @var bool
4747 */
4848 protected $ quietMode = false ;
4949
@@ -52,7 +52,7 @@ class CheckSniffCompleteness
5252 *
5353 * This will be automatically detected if not set from the command-line.
5454 *
55- * @var boolean
55+ * @var bool
5656 */
5757 protected $ showColored ;
5858
@@ -66,7 +66,7 @@ class CheckSniffCompleteness
6666 /**
6767 * The target directories to examine.
6868 *
69- * @var array
69+ * @var array<string>
7070 */
7171 protected $ targetDirs = [];
7272
@@ -80,7 +80,7 @@ class CheckSniffCompleteness
8080 /**
8181 * Directories to exclude from the scan.
8282 *
83- * @var array
83+ * @var array<string>
8484 */
8585 protected $ excludedDirs = [
8686 'vendor ' ,
@@ -89,14 +89,14 @@ class CheckSniffCompleteness
8989 /**
9090 * List of all files in the repo.
9191 *
92- * @var array
92+ * @var array<string, int> Key is a file name, value irrelevant.
9393 */
9494 protected $ allFiles = [];
9595
9696 /**
9797 * List of all sniff files in the repo.
9898 *
99- * @var array
99+ * @var array<string>
100100 */
101101 protected $ allSniffs = [];
102102
@@ -105,7 +105,7 @@ class CheckSniffCompleteness
105105 *
106106 * Keys are the strings to search for, values the replacement values.
107107 *
108- * @var array
108+ * @var array<string, string>
109109 */
110110 private $ sniffToDoc = [
111111 '/Sniffs/ ' => '/Docs/ ' ,
@@ -117,7 +117,7 @@ class CheckSniffCompleteness
117117 *
118118 * Keys are the strings to search for, values the replacement values.
119119 *
120- * @var array
120+ * @var array<string, string>
121121 */
122122 private $ sniffToUnitTest = [
123123 '/Sniffs/ ' => '/Tests/ ' ,
@@ -127,7 +127,7 @@ class CheckSniffCompleteness
127127 /**
128128 * Possible test case file extensions.
129129 *
130- * @var array
130+ * @var array<string>
131131 */
132132 private $ testCaseExtensions = [
133133 '.inc ' ,
0 commit comments