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

Flextype Core: Entries - delete() method - fixes.

This commit is contained in:
Awilum
2019-02-18 02:18:32 +03:00
parent e1a4e4bd6a
commit c3c1ef1c21

View File

@@ -208,7 +208,7 @@ class Entries
* @param string $entry Entry
* @return bool True on success, false on failure.
*/
public static function delete(string $entry)
public static function delete(string $entry) : bool
{
return Filesystem::deleteDir(PATH['entries'] . '/' . $entry);
}