mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-11-18 23:50:09 +00:00
Use PSR-12 code style
This commit is contained in:
@@ -39,7 +39,6 @@ use Illuminate\View\View;
|
||||
*/
|
||||
class EditController extends Controller
|
||||
{
|
||||
|
||||
private AttachmentHelperInterface $attachments;
|
||||
private CategoryRepositoryInterface $repository;
|
||||
|
||||
@@ -120,11 +119,9 @@ class EditController extends Controller
|
||||
$redirect = redirect($this->getPreviousUrl('categories.edit.url'));
|
||||
|
||||
if (1 === (int) $request->get('return_to_edit')) {
|
||||
|
||||
$request->session()->put('categories.edit.fromUpdate', true);
|
||||
|
||||
$redirect = redirect(route('categories.edit', [$category->id]));
|
||||
|
||||
}
|
||||
|
||||
return $redirect;
|
||||
|
||||
Reference in New Issue
Block a user