Skip to content
Snippets Groups Projects
Commit 7ed81087 authored by Tobias Gross-Vogt's avatar Tobias Gross-Vogt
Browse files

null reference fix

parent da7bff02
No related branches found
No related tags found
No related merge requests found
Pipeline #211334 passed
......@@ -4,7 +4,9 @@ declare(strict_types=1);
namespace Dbp\Relay\CoreBundle\LocalData;
use Dbp\Relay\CoreBundle\API\UserSessionInterface;
use Dbp\Relay\CoreBundle\Authorization\AbstractAuthorizationService;
use Dbp\Relay\CoreBundle\Authorization\AuthorizationDataProviderProvider;
use Symfony\Component\Config\Definition\Builder\TreeBuilder;
use Symfony\Component\EventDispatcher\EventSubscriberInterface;
......@@ -18,6 +20,13 @@ abstract class AbstractLocalDataPostEventSubscriber extends AbstractAuthorizatio
/** @var string[] */
private $attributeMapping;
public function __construct(UserSessionInterface $userSession, AuthorizationDataProviderProvider $authorizationDataProviderProvider)
{
parent::__construct($userSession, $authorizationDataProviderProvider);
$this->attributeMapping = [];
}
public function setConfig(array $config)
{
$configNode = $config[self::CONFIG_NODE] ?? [];
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment