We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 06d6b71 commit fa575efCopy full SHA for fa575ef
src/PhpWord/Settings.php
@@ -240,7 +240,7 @@ public static function getPdfRendererPath()
240
*/
241
public static function setPdfRendererPath($libraryBaseDir)
242
{
243
- if ((file_exists($libraryBaseDir) === false) || (is_readable($libraryBaseDir) === false)) {
+ if (false === file_exists($libraryBaseDir) || false === is_readable($libraryBaseDir)) {
244
return false;
245
}
246
self::$pdfRendererPath = $libraryBaseDir;
0 commit comments