mirror of
https://github.com/flextype/flextype.git
synced 2025-08-11 23:54:06 +02:00
Flextype Core: Entries - code fixes according Scrutinizer Tests.
This commit is contained in:
@@ -335,6 +335,9 @@ class Entries
|
||||
*/
|
||||
public static function processEntry(string $file_path, bool $raw = false, bool $ignore_content = false)
|
||||
{
|
||||
// Init Entry
|
||||
$entry = '';
|
||||
|
||||
// Get entry from file
|
||||
if ($entry_content = Filesystem::read($file_path)) {
|
||||
$entry = $entry_content;
|
||||
|
Reference in New Issue
Block a user