Update System.php
This commit is contained in:
@@ -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.');
|
||||||
|
|||||||
Reference in New Issue
Block a user