Skip to content

Commit 659ea39

Browse files
committed
bug fix commit
2 parents 05c4489 + d476cb9 commit 659ea39

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

src/Cache/FileCacheAdapter.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,7 @@ public function has($key)
256256
*
257257
* @return string absolute path to cache-file
258258
*/
259-
private function getPath($key)
259+
private function getPath($key): string
260260
{
261261
$this->validateKey($key);
262262

@@ -274,7 +274,7 @@ private function getPath($key)
274274
/**
275275
* @return Generator|string[]
276276
*/
277-
private function listPaths()
277+
private function listPaths(): Generator
278278
{
279279
$iterator = new RecursiveDirectoryIterator(
280280
$this->cache_path,

src/PublicSuffixListManager.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,8 @@ public function refreshPublicSuffixList(): bool
107107
/**
108108
* Parses text representation of list to associative, multidimensional array.
109109
*
110+
* @param string $publicSuffixList
111+
*
110112
* @return array Associative, multidimensional array representation of the
111113
* public suffx list
112114
*/

0 commit comments

Comments
 (0)