diff --git a/laravel/file.php b/laravel/file.php index 1cb33c00..e5bf8f5a 100644 --- a/laravel/file.php +++ b/laravel/file.php @@ -61,11 +61,11 @@ class File { * Delete a file. * * @param string $path - * @return void + * @return bool */ public static function delete($path) { - if (static::exists($path)) @unlink($path); + if (static::exists($path)) return @unlink($path); } /**