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:
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user