Fixed coding style.

This commit is contained in:
Jan Böhmer 2020-05-10 21:39:31 +02:00
parent e9493e52ec
commit f5d685dfd4
71 changed files with 619 additions and 531 deletions

View file

@ -70,12 +70,16 @@ use Symfony\Component\Serializer\SerializerInterface;
*/
class EventLoggerSubscriber implements EventSubscriber
{
/** @var array The given fields will not be saved, because they contain sensitive informations */
/**
* @var array The given fields will not be saved, because they contain sensitive informations
*/
protected const FIELD_BLACKLIST = [
User::class => ['password', 'need_pw_change', 'googleAuthenticatorSecret', 'backupCodes', 'trustedDeviceCookieVersion', 'pw_reset_token', 'backupCodesGenerationDate'],
];
/** @var array If elements of the given class are deleted, a log for the given fields will be triggered */
/**
* @var array If elements of the given class are deleted, a log for the given fields will be triggered
*/
protected const TRIGGER_ASSOCIATION_LOG_WHITELIST = [
PartLot::class => ['part'],
Orderdetail::class => ['part'],

View file

@ -69,7 +69,9 @@ final class RegisterU2FSubscriber implements EventSubscriberInterface
*/
private $router;
/** @var EventDispatcher */
/**
* @var EventDispatcher
*/
private $eventDispatcher;
public function __construct(UrlGeneratorInterface $router, EntityManagerInterface $entityManager, FlashBagInterface $flashBag, EventDispatcherInterface $eventDispatcher, bool $demo_mode)