Skip to content

Commit

Permalink
CS
Browse files Browse the repository at this point in the history
  • Loading branch information
aschempp committed Jul 8, 2020
1 parent 577f1fa commit c719b1c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion core-bundle/src/Resources/contao/dca/tl_page.php
Expand Up @@ -13,6 +13,7 @@
use Contao\BackendUser;
use Contao\Config;
use Contao\CoreBundle\EventListener\DataContainer\ContentCompositionListener;
use Contao\CoreBundle\EventListener\DataContainer\PageTypeOptionsListener;
use Contao\CoreBundle\EventListener\DataContainer\PageUrlListener;
use Contao\CoreBundle\Exception\AccessDeniedException;
use Contao\CoreBundle\Search\Document;
Expand Down Expand Up @@ -1293,7 +1294,7 @@ public function getPageTypes(DataContainer $dc)
{
@trigger_error('tl_page::getPageTypes() is deprecated, use the \Contao\CoreBundle\EventListener\DataContainer\PageTypeOptionsListener instead.', E_USER_DEPRECATED);

return System::getContainer()->get(\Contao\CoreBundle\EventListener\DataContainer\PageTypeOptionsListener::class)($dc);
return System::getContainer()->get(PageTypeOptionsListener::class)($dc);
}

/**
Expand Down

0 comments on commit c719b1c

Please sign in to comment.