@@ -298,6 +298,9 @@ |
||
298 | 298 | $formConfig->getAttribute('target_admin_access_action')->willReturn('list'); |
299 | 299 | } |
300 | 300 | |
301 | + /** |
|
302 | + * @param string $field |
|
303 | + */ |
|
301 | 304 | private function configureFormConfigComplexPropertyArray($field): void |
302 | 305 | { |
303 | 306 | $form = $this->prophesize(Form::class); |
@@ -2486,6 +2486,9 @@ |
||
2486 | 2486 | return htmlspecialchars(http_build_query($url, '', '&', PHP_QUERY_RFC3986)); |
2487 | 2487 | } |
2488 | 2488 | |
2489 | + /** |
|
2490 | + * @param string $privateMethod |
|
2491 | + */ |
|
2489 | 2492 | private function getMethodAsPublic($privateMethod): \ReflectionMethod |
2490 | 2493 | { |
2491 | 2494 | $reflection = new \ReflectionMethod('Sonata\AdminBundle\Twig\Extension\SonataAdminExtension', $privateMethod); |