Update System.php

This commit is contained in:
Philipp 2023-04-01 23:00:43 +02:00 committed by GitHub
parent 1d328f4c76
commit 97e897a9ca
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -526,7 +526,7 @@ class System
*
* @return boolean the directory is usable
*/
private static function isDirectoryUsable($directory): bool
private static function isDirectoryUsable(string $directory): bool
{
if (empty($directory)) {
Logger::warning('Directory is empty. This shouldn\'t happen.');