Code deprecations update according to https://github.com/symfony/symfony/blob/2.8/UPGRADE-2.8.md
This commit is contained in:
parent
db3c9a0bd2
commit
9f53628373
|
@ -19,7 +19,7 @@ class MainController extends Controller
|
||||||
$em = $this->getDoctrine()->getManager();
|
$em = $this->getDoctrine()->getManager();
|
||||||
|
|
||||||
$form = $this->createForm(
|
$form = $this->createForm(
|
||||||
new UserSearchType(),
|
UserSearchType::class,
|
||||||
null,
|
null,
|
||||||
[
|
[
|
||||||
'action' => $this->generateUrl('index'),
|
'action' => $this->generateUrl('index'),
|
||||||
|
|
|
@ -17,12 +17,4 @@ class UserSearchType extends AbstractType
|
||||||
->add('login')
|
->add('login')
|
||||||
;
|
;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* @return string
|
|
||||||
*/
|
|
||||||
public function getName()
|
|
||||||
{
|
|
||||||
return 'skobkin_bundle_pointtoolsbundle_user_search';
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue