Skip to content

Commit

Permalink
Fix error message syntax.
Browse files Browse the repository at this point in the history
  • Loading branch information
frankdejonge committed Nov 2, 2023
1 parent b015995 commit 88beda9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Ftp/FtpAdapter.php
Original file line number Diff line number Diff line change
Expand Up @@ -611,7 +611,7 @@ private function ensureDirectoryExists(string $dirname, ?string $visibility): vo
if ($mode !== false && @ftp_chmod($connection, $mode, $location) === false) {
throw UnableToCreateDirectory::atLocation(
$dirPath,
'unable to chmod the directory: ' . error_get_last()['message'] ?? 'reason unknown'
'unable to chmod the directory: ' . (error_get_last()['message'] ?? 'reason unknown'),
);
}
}
Expand Down

0 comments on commit 88beda9

Please sign in to comment.