From f3568ecfa40aa8d7a0c45452f96744e4e6b8312c Mon Sep 17 00:00:00 2001 From: Awilum Date: Tue, 20 Aug 2019 12:52:28 +0300 Subject: [PATCH] chore(core): add comments for Entries read method #212 #186 --- flextype/core/Entries.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/flextype/core/Entries.php b/flextype/core/Entries.php index 08ba49a3..969eb368 100755 --- a/flextype/core/Entries.php +++ b/flextype/core/Entries.php @@ -486,13 +486,14 @@ class Entries * Read entry * * @param string $id Entry ID + * @param bool $raw Return raw or decoded content * * @return bool|array Array of file path, decoded file data and file parser, * false on failure. * * @access public */ - public function read(string $id, $raw = false) + public function read(string $id, bool $raw = false) { foreach (Parser::$parsers as $parser) { if (Filesystem::has(PATH['entries'] . '/' . $id . '/' . 'entry' . '.' . $parser['ext'])) {