mirror of
https://github.com/flextype/flextype.git
synced 2025-08-12 16:14:16 +02:00
Flextype Core: New Snippets API - improvements
This commit is contained in:
@@ -166,7 +166,7 @@ class Snippets
|
||||
* @param string $name Name
|
||||
* @return string
|
||||
*/
|
||||
private static function _file_location($name)
|
||||
private static function _file_location(string $name) : string
|
||||
{
|
||||
return PATH['snippets'] . '/' . $name . '.php';
|
||||
}
|
||||
|
Reference in New Issue
Block a user