chore: adjusts coding style

This commit is contained in:
Nuno Maduro
2024-01-11 11:30:11 +00:00
parent 1506d8bb27
commit ab64912c70
11 changed files with 21 additions and 21 deletions

View File

@ -86,7 +86,7 @@ final class DefaultResultCache implements ResultCache
*/
private array $times = [];
public function __construct(string $filepath = null)
public function __construct(?string $filepath = null)
{
if ($filepath !== null && is_dir($filepath)) {
$filepath .= DIRECTORY_SEPARATOR.self::DEFAULT_RESULT_CACHE_FILENAME;