mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-06-30 05:24:28 +02:00
Fixed coding style.
This commit is contained in:
parent
e9493e52ec
commit
f5d685dfd4
71 changed files with 619 additions and 531 deletions
|
@ -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'],
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue