src/Adapters/Flysystem.php
public function delete(File $file)
    {
        if ($this->adapter->delete($file->path)) {
            return $file;
        }

        return false;
    }
public function delete(File $file)
    {
        if ($this->adapter->delete($file->path)) {
            return $file;
        }

        return false;
    }
public function delete ( File $ file ) { if ( $ this -> adapter -> delete ( $ file -> path ) ) { return $ file ; } return false ; }
In case deletion is not possible, return false.

@param File $file

@return File|bool
In case deletion is not possible return false .