mirror of
				https://github.com/firefly-iii/firefly-iii.git
				synced 2025-10-31 02:36:28 +00:00 
			
		
		
		
	Reformat various code.
This commit is contained in:
		| @@ -96,7 +96,7 @@ class CreateController extends Controller | ||||
|             $operators = $search->getOperators()->toArray(); | ||||
|             if ('' !== $words) { | ||||
|                 session()->flash('warning', trans('firefly.rule_from_search_words', ['string' => $words])); | ||||
|                 array_push($operators, ['type' => 'description_contains', 'value' => $words]); | ||||
|                 $operators[] = ['type' => 'description_contains', 'value' => $words]; | ||||
|             } | ||||
|             $oldTriggers = $this->parseFromOperators($operators); | ||||
|         } | ||||
| @@ -236,8 +236,7 @@ class CreateController extends Controller | ||||
|     } | ||||
|  | ||||
|     /** | ||||
|      * @param Rule $rule | ||||
|      * | ||||
|      * @param Request $request | ||||
|      * @return JsonResponse | ||||
|      */ | ||||
|     public function duplicate(Request $request): JsonResponse | ||||
|   | ||||
| @@ -93,7 +93,7 @@ class EditController extends Controller | ||||
|             $operators = $search->getOperators()->toArray(); | ||||
|             if ('' !== $words) { | ||||
|                 session()->flash('warning', trans('firefly.rule_from_search_words', ['string' => $words])); | ||||
|                 array_push($operators, ['type' => 'description_contains', 'value' => $words]); | ||||
|                 $operators[] = ['type' => 'description_contains', 'value' => $words]; | ||||
|             } | ||||
|             $oldTriggers = $this->parseFromOperators($operators); | ||||
|         } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user