mirror of
				https://github.com/firefly-iii/firefly-iii.git
				synced 2025-10-31 18:54:58 +00:00 
			
		
		
		
	Some last minute updates.
This commit is contained in:
		| @@ -127,7 +127,7 @@ class JobStatusController extends Controller | ||||
|     public function start(ImportJob $importJob): JsonResponse | ||||
|     { | ||||
|         // catch impossible status: | ||||
|         $allowed = ['ready_to_run', 'need_job_config', 'error']; // todo remove error | ||||
|         $allowed = ['ready_to_run', 'need_job_config']; | ||||
|  | ||||
|         if (null !== $importJob && !\in_array($importJob->status, $allowed, true)) { | ||||
|             Log::error('Job is not ready.'); | ||||
|   | ||||
| @@ -57,7 +57,7 @@ class BillFormRequest extends Request | ||||
|     /** | ||||
|      * @return array | ||||
|      */ | ||||
|     public function rules() | ||||
|     public function rules(): array | ||||
|     { | ||||
|         $nameRule = 'required|between:1,255|uniqueObjectForUser:bills,name'; | ||||
|         if ($this->integer('id') > 0) { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user