From cd42ab5fe218292df6301e1d1e65bcfba5c045b4 Mon Sep 17 00:00:00 2001 From: Awilum Date: Fri, 22 Feb 2019 23:03:34 +0300 Subject: [PATCH] Flextype Core: New Entries API - improvements --- flextype/Entries.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/flextype/Entries.php b/flextype/Entries.php index a51da1ce..7971aeb6 100755 --- a/flextype/Entries.php +++ b/flextype/Entries.php @@ -251,7 +251,7 @@ class Entries * @param string $name Name * @return string */ - private static function _file_location($name) + private static function _file_location(string $name) : string { return PATH['entries'] . '/' . $name . '/entry.yaml'; } @@ -263,7 +263,7 @@ class Entries * @param string $name Name * @return string */ - private static function _dir_location($name) + private static function _dir_location(string $name) : string { return PATH['entries'] . '/' . $name; }