Skip to content

Commit

Permalink
Merge pull request #195 from gisostallenberg/patch-1
Browse files Browse the repository at this point in the history
Fix typehint of $config argument in Purifier::clean
  • Loading branch information
mewebstudio committed Mar 20, 2024
2 parents 35365e1 + 5eebc1a commit d4d3830
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Purifier.php
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ private function checkCacheDirectory()
}

/**
* @param null $config
* @param array<string, mixed>|string|null $config
*
* @return mixed|null
*/
Expand Down Expand Up @@ -259,7 +259,7 @@ protected function getConfig($config = null)

/**
* @param $dirty
* @param null $config
* @param array<string, mixed>|string|null $config
* @param \Closure|null $postCreateConfigHook
* @return mixed
*/
Expand Down

0 comments on commit d4d3830

Please sign in to comment.