From 08b20bbe10fa7468e67f9c3508533245299365b4 Mon Sep 17 00:00:00 2001 From: Adrien Crivelli Date: Sat, 23 Dec 2017 14:40:51 +0900 Subject: [PATCH] Fix code style --- src/PhpSpreadsheet/Helper/Sample.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/PhpSpreadsheet/Helper/Sample.php b/src/PhpSpreadsheet/Helper/Sample.php index d021c922ca..c637e1198b 100644 --- a/src/PhpSpreadsheet/Helper/Sample.php +++ b/src/PhpSpreadsheet/Helper/Sample.php @@ -141,7 +141,7 @@ private function getTemporaryFolder() { $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)); } }