Fix code style
This commit is contained in:
parent
453f8f1821
commit
80e46707aa
|
@ -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));
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue