Skip to content

Commit 5eebc1a

Browse files
Fix typehint of $config argument in Purifier::clean
1 parent 48e7bdd commit 5eebc1a

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
@@ -196,7 +196,7 @@ private function checkCacheDirectory()
196196
}
197197

198198
/**
199-
* @param null $config
199+
* @param array<string, mixed>|string|null $config
200200
*
201201
* @return mixed|null
202202
*/
@@ -256,7 +256,7 @@ protected function getConfig($config = null)
256256

257257
/**
258258
* @param $dirty
259-
* @param null $config
259+
* @param array<string, mixed>|string|null $config
260260
* @param \Closure|null $postCreateConfigHook
261261
* @return mixed
262262
*/

0 commit comments

Comments
 (0)