public function deleteFile(array $file, $disk = null) : bool
{
return $this->update(['cover' => null]);
}
seems that parameter $file is not passed anywhere. Plus it looks like function is only updating table and does not provide any real delete file from filesystem.
function in CategoryRepository.php
public function deleteFile(array $file, $disk = null) : bool { return $this->update(['cover' => null]); }
seems that parameter $file is not passed anywhere. Plus it looks like function is only updating table and does not provide any real delete file from filesystem.