mirror of
https://github.com/standardebooks/web.git
synced 2025-07-18 12:26:39 -04:00
Updates to more strict type checking after some static analysis
This commit is contained in:
parent
152f86d616
commit
c879dcab34
10 changed files with 50 additions and 34 deletions
|
@ -19,7 +19,7 @@ class Template{
|
|||
|
||||
ob_start();
|
||||
eval(' ?>' . $fileContents . '<? ');
|
||||
$contents = ob_get_contents();
|
||||
$contents = ob_get_contents() ?: '';
|
||||
ob_end_clean();
|
||||
|
||||
return $contents;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue