|
@@ -16,7 +16,6 @@ use Sonata\AdminBundle\Admin\AdminInterface;
|
|
use Sonata\AdminBundle\Admin\Pool;
|
|
use Sonata\AdminBundle\Admin\Pool;
|
|
use Sonata\AdminBundle\Filter\FilterInterface;
|
|
use Sonata\AdminBundle\Filter\FilterInterface;
|
|
use Symfony\Bridge\Twig\Form\TwigRenderer;
|
|
use Symfony\Bridge\Twig\Form\TwigRenderer;
|
|
-use Symfony\Component\Form\FormInterface;
|
|
|
|
use Symfony\Component\HttpFoundation\JsonResponse;
|
|
use Symfony\Component\HttpFoundation\JsonResponse;
|
|
use Symfony\Component\HttpFoundation\Request;
|
|
use Symfony\Component\HttpFoundation\Request;
|
|
use Symfony\Component\HttpFoundation\Response;
|
|
use Symfony\Component\HttpFoundation\Response;
|
|
@@ -444,7 +443,7 @@ class HelperController
|
|
* @param AdminInterface $admin
|
|
* @param AdminInterface $admin
|
|
* @param string $field
|
|
* @param string $field
|
|
*
|
|
*
|
|
- * @return FormInterface
|
|
|
|
|
|
+ * @return \Sonata\AdminBundle\Admin\FieldDescriptionInterface
|
|
*
|
|
*
|
|
* @throws \RuntimeException
|
|
* @throws \RuntimeException
|
|
*/
|
|
*/
|
|
@@ -471,7 +470,7 @@ class HelperController
|
|
* @param AdminInterface $admin
|
|
* @param AdminInterface $admin
|
|
* @param string $field
|
|
* @param string $field
|
|
*
|
|
*
|
|
- * @return FormInterface
|
|
|
|
|
|
+ * @return \Sonata\AdminBundle\Admin\FieldDescriptionInterface
|
|
*
|
|
*
|
|
* @throws \RuntimeException
|
|
* @throws \RuntimeException
|
|
*/
|
|
*/
|