Skip to content

Commit d4d3830

Browse files
authored
Merge pull request #195 from gisostallenberg/patch-1
Fix typehint of $config argument in Purifier::clean
2 parents 35365e1 + 5eebc1a commit d4d3830

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Purifier.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ private function checkCacheDirectory()
199199
}
200200

201201
/**
202-
* @param null $config
202+
* @param array<string, mixed>|string|null $config
203203
*
204204
* @return mixed|null
205205
*/
@@ -259,7 +259,7 @@ protected function getConfig($config = null)
259259

260260
/**
261261
* @param $dirty
262-
* @param null $config
262+
* @param array<string, mixed>|string|null $config
263263
* @param \Closure|null $postCreateConfigHook
264264
* @return mixed
265265
*/

0 commit comments

Comments
 (0)