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
1 changed files with 1 additions and 1 deletions

View File

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