@@ -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