From 160e119abf13b15c7a41a577ce1ef63d652195cd Mon Sep 17 00:00:00 2001 From: Awilum Date: Fri, 22 Feb 2019 23:06:26 +0300 Subject: [PATCH] Flextype Core: New Snippets API - improvements --- flextype/Snippets.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flextype/Snippets.php b/flextype/Snippets.php index 67f9ba0b..31c277df 100644 --- a/flextype/Snippets.php +++ b/flextype/Snippets.php @@ -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'; }