Skip to content
Snippets Groups Projects
Unverified Commit 18a2b10c authored by Bekerle, Patrizio's avatar Bekerle, Patrizio :fire:
Browse files

Fix linter problems

parent 061776d6
No related branches found
No related tags found
No related merge requests found
Pipeline #85100 passed
......@@ -4,7 +4,6 @@ declare(strict_types=1);
namespace Dbp\Relay\BasePersonConnectorLdapBundle\Event;
use Adldap\Models\User;
use Symfony\Contracts\EventDispatcher\Event;
class PersonUserItemPreEvent extends Event
......
......@@ -22,9 +22,9 @@ class PersonForExternalServiceSubscriber implements EventSubscriberInterface
$service = $event->getService();
$serviceID = $event->getServiceID();
if ($service == 'test-service') {
if ($service === 'test-service') {
$person = new Person();
$person->setExtraData('test-service', 'my-test-service-string-' . $serviceID);
$person->setExtraData('test-service', 'my-test-service-string-'.$serviceID);
$event->setPerson($person);
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment