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