Code style tweaks to satisfy PHPStan

This commit is contained in:
Alex Cabal 2020-12-08 14:32:53 -06:00
parent 658db66c2b
commit 5c4617d759
6 changed files with 19 additions and 6 deletions

View file

@ -22,6 +22,8 @@ foreach($contentFiles as $path){
if($path == '')
continue;
$ebookWwwFilesystemPath = '';
try{
$ebookWwwFilesystemPath = preg_replace('|/content\.opf|ius', '', $path) ?? '';