1
0
mirror of https://github.com/flextype/flextype.git synced 2025-08-12 08:04:05 +02:00

Flextype Core: New Entries API - improvements

This commit is contained in:
Awilum
2019-02-22 23:03:34 +03:00
parent be9603a83a
commit cd42ab5fe2

View File

@@ -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;
}