Fixed "new static" is unsafe
This commit is contained in:
parent
0c2504c4c7
commit
9557ca17d5
7 changed files with 9 additions and 6 deletions
|
|
@ -84,7 +84,7 @@ class AjaxBlocksController extends ControllerBase {
|
|||
* @param \Symfony\Component\DependencyInjection\ContainerInterface $container
|
||||
* The drupal container.
|
||||
*/
|
||||
public function __construct(RendererInterface $renderer, CurrentPathStack $currentPath, RouterInterface $router, PathProcessorManager $pathProcessor, CurrentRouteMatch $currentRouteMatch, ContainerInterface $container) {
|
||||
final public function __construct(RendererInterface $renderer, CurrentPathStack $currentPath, RouterInterface $router, PathProcessorManager $pathProcessor, CurrentRouteMatch $currentRouteMatch, ContainerInterface $container) {
|
||||
$this->storage = $this->entityTypeManager()->getStorage('block');
|
||||
$this->renderer = $renderer;
|
||||
$this->currentPath = $currentPath;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue