Invis1ble/assistant

View on GitHub
src/AppBundle/Controller/PeriodController.php

Summary

Maintainability
A
2 hrs
Test Coverage

Showing 1 of 1 total issue

Similar blocks of code found in 2 locations. Consider refactoring.
Open

public function patchPeriodAction(Request $request, Period $period)
{
$form = $this->createForm(TaskPeriodFormType::class, $period);
$form->submit(json_decode($request->getContent(), true), false);
 
 
Severity: Major
Found in src/AppBundle/Controller/PeriodController.php and 1 other location - About 2 hrs to fix
src/AppBundle/Controller/CategoryController.php on lines 109..123

There are no issues that match your filters.

Category
Status