mirror of
				https://github.com/firefly-iii/firefly-iii.git
				synced 2025-10-31 02:36:28 +00:00 
			
		
		
		
	Remove unused methods.
This commit is contained in:
		| @@ -35,15 +35,6 @@ use Symfony\Component\HttpFoundation\File\UploadedFile; | ||||
|  */ | ||||
| interface ImportJobRepositoryInterface | ||||
| { | ||||
|     /** | ||||
|      * @param ImportJob $job | ||||
|      * @param int       $index | ||||
|      * @param string    $error | ||||
|      * | ||||
|      * @return ImportJob | ||||
|      */ | ||||
|     public function addError(ImportJob $job, int $index, string $error): ImportJob; | ||||
|  | ||||
|     /** | ||||
|      * Add message to job. | ||||
|      * | ||||
| @@ -54,31 +45,6 @@ interface ImportJobRepositoryInterface | ||||
|      */ | ||||
|     public function addErrorMessage(ImportJob $job, string $error): ImportJob; | ||||
|  | ||||
|     /** | ||||
|      * @param ImportJob $job | ||||
|      * @param int       $steps | ||||
|      * | ||||
|      * @return ImportJob | ||||
|      */ | ||||
|     public function addStepsDone(ImportJob $job, int $steps = null): ImportJob; | ||||
|  | ||||
|     /** | ||||
|      * @param ImportJob $job | ||||
|      * @param int       $steps | ||||
|      * | ||||
|      * @return ImportJob | ||||
|      */ | ||||
|     public function addTotalSteps(ImportJob $job, int $steps = null): ImportJob; | ||||
|  | ||||
|     /** | ||||
|      * Return number of imported rows with this hash value. | ||||
|      * | ||||
|      * @param string $hash | ||||
|      * | ||||
|      * @return int | ||||
|      */ | ||||
|     public function countByHash(string $hash): int; | ||||
|  | ||||
|     /** | ||||
|      * @param string $importProvider | ||||
|      * | ||||
| @@ -120,29 +86,6 @@ interface ImportJobRepositoryInterface | ||||
|      */ | ||||
|     public function getExtendedStatus(ImportJob $job): array; | ||||
|  | ||||
|     /** | ||||
|      * @param ImportJob $job | ||||
|      * | ||||
|      * @return string | ||||
|      */ | ||||
|     public function getStatus(ImportJob $job): string; | ||||
|  | ||||
|     /** | ||||
|      * @param ImportJob    $job | ||||
|      * @param UploadedFile $file | ||||
|      * | ||||
|      * @return bool | ||||
|      */ | ||||
|     public function processConfiguration(ImportJob $job, UploadedFile $file): bool; | ||||
|  | ||||
|     /** | ||||
|      * @param ImportJob         $job | ||||
|      * @param null|UploadedFile $file | ||||
|      * | ||||
|      * @return bool | ||||
|      */ | ||||
|     public function processFile(ImportJob $job, ?UploadedFile $file): bool; | ||||
|  | ||||
|     /** | ||||
|      * @param ImportJob $job | ||||
|      * @param array     $configuration | ||||
| @@ -151,14 +94,6 @@ interface ImportJobRepositoryInterface | ||||
|      */ | ||||
|     public function setConfiguration(ImportJob $job, array $configuration): ImportJob; | ||||
|  | ||||
|     /** | ||||
|      * @param ImportJob $job | ||||
|      * @param array     $array | ||||
|      * | ||||
|      * @return ImportJob | ||||
|      */ | ||||
|     public function setExtendedStatus(ImportJob $job, array $array): ImportJob; | ||||
|  | ||||
|     /** | ||||
|      * @param ImportJob $job | ||||
|      * @param string    $stage | ||||
| @@ -175,14 +110,6 @@ interface ImportJobRepositoryInterface | ||||
|      */ | ||||
|     public function setStatus(ImportJob $job, string $status): ImportJob; | ||||
|  | ||||
|     /** | ||||
|      * @param ImportJob $job | ||||
|      * @param int       $steps | ||||
|      * | ||||
|      * @return ImportJob | ||||
|      */ | ||||
|     public function setStepsDone(ImportJob $job, int $steps): ImportJob; | ||||
|  | ||||
|     /** | ||||
|      * @param ImportJob $job | ||||
|      * @param Tag       $tag | ||||
| @@ -191,14 +118,6 @@ interface ImportJobRepositoryInterface | ||||
|      */ | ||||
|     public function setTag(ImportJob $job, Tag $tag): ImportJob; | ||||
|  | ||||
|     /** | ||||
|      * @param ImportJob $job | ||||
|      * @param int       $count | ||||
|      * | ||||
|      * @return ImportJob | ||||
|      */ | ||||
|     public function setTotalSteps(ImportJob $job, int $count): ImportJob; | ||||
|  | ||||
|     /** | ||||
|      * @param ImportJob $job | ||||
|      * @param array     $transactions | ||||
| @@ -243,12 +162,4 @@ interface ImportJobRepositoryInterface | ||||
|      */ | ||||
|     public function updateStatus(ImportJob $job, string $status): ImportJob; | ||||
|  | ||||
|     /** | ||||
|      * Return import file content. | ||||
|      * | ||||
|      * @param ImportJob $job | ||||
|      * | ||||
|      * @return string | ||||
|      */ | ||||
|     public function uploadFileContents(ImportJob $job): string; | ||||
| } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user