1
0
mirror of https://github.com/mrclay/minify.git synced 2025-08-20 04:41:29 +02:00

explicitly mark parameters as nullable

This commit is contained in:
Thomas A. Hirsch
2025-01-28 15:50:41 +01:00
parent 230770a277
commit 60f49fa1e3
6 changed files with 6 additions and 6 deletions

View File

@@ -85,7 +85,7 @@ class Minify
* @param Minify_CacheInterface $cache
* @param LoggerInterface $logger
*/
public function __construct(Minify_CacheInterface $cache, LoggerInterface $logger = null)
public function __construct(Minify_CacheInterface $cache, ?LoggerInterface $logger = null)
{
$this->cache = $cache;
$this->logger = $logger;