Skip to content

Commit fa575ef

Browse files
author
Roman Syroeshko
committed
Minor refactoring.
1 parent 06d6b71 commit fa575ef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/PhpWord/Settings.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,7 @@ public static function getPdfRendererPath()
240240
*/
241241
public static function setPdfRendererPath($libraryBaseDir)
242242
{
243-
if ((file_exists($libraryBaseDir) === false) || (is_readable($libraryBaseDir) === false)) {
243+
if (false === file_exists($libraryBaseDir) || false === is_readable($libraryBaseDir)) {
244244
return false;
245245
}
246246
self::$pdfRendererPath = $libraryBaseDir;

0 commit comments

Comments
 (0)