mirror of
https://github.com/PHPOffice/PhpSpreadsheet.git
synced 2026-08-30 12:07:56 +00:00
Fix code style
This commit is contained in:
@@ -141,7 +141,7 @@ class Sample
|
||||
{
|
||||
$tempFolder = sys_get_temp_dir() . '/phpspreadsheet';
|
||||
if (!is_dir($tempFolder)) {
|
||||
if (! mkdir($tempFolder) && ! is_dir($tempFolder)) {
|
||||
if (!mkdir($tempFolder) && !is_dir($tempFolder)) {
|
||||
throw new \RuntimeException(sprintf('Directory "%s" was not created', $tempFolder));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user