File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -256,7 +256,7 @@ public function has($key)
256
256
*
257
257
* @return string absolute path to cache-file
258
258
*/
259
- private function getPath ($ key )
259
+ private function getPath ($ key ): string
260
260
{
261
261
$ this ->validateKey ($ key );
262
262
@@ -274,7 +274,7 @@ private function getPath($key)
274
274
/**
275
275
* @return Generator|string[]
276
276
*/
277
- private function listPaths ()
277
+ private function listPaths (): Generator
278
278
{
279
279
$ iterator = new RecursiveDirectoryIterator (
280
280
$ this ->cache_path ,
Original file line number Diff line number Diff line change @@ -117,6 +117,8 @@ public function refreshPublicSuffixList(): bool
117
117
*
118
118
* Returns true if all the public suffix list are correctly refreshed
119
119
*
120
+ * @param string $publicSuffixList
121
+ *
120
122
* @return bool
121
123
*/
122
124
private function cachePublicSuffixListTypes (string $ publicSuffixList ): bool
@@ -129,6 +131,8 @@ private function cachePublicSuffixListTypes(string $publicSuffixList): bool
129
131
/**
130
132
* Parses text representation of list to associative, multidimensional array.
131
133
*
134
+ * @param string $publicSuffixList
135
+ *
132
136
* @return array Associative, multidimensional array representation of the
133
137
* public suffx list
134
138
*/
You can’t perform that action at this time.
0 commit comments