From fa575ef12c2028baa07c5c46665b9795424e1668 Mon Sep 17 00:00:00 2001 From: Roman Syroeshko Date: Tue, 14 Oct 2014 21:33:04 +0400 Subject: [PATCH] Minor refactoring. --- src/PhpWord/Settings.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/PhpWord/Settings.php b/src/PhpWord/Settings.php index 6c7f17e1..67b1dbed 100644 --- a/src/PhpWord/Settings.php +++ b/src/PhpWord/Settings.php @@ -240,7 +240,7 @@ class Settings */ public static function setPdfRendererPath($libraryBaseDir) { - if ((file_exists($libraryBaseDir) === false) || (is_readable($libraryBaseDir) === false)) { + if (false === file_exists($libraryBaseDir) || false === is_readable($libraryBaseDir)) { return false; } self::$pdfRendererPath = $libraryBaseDir;