File tree Expand file tree Collapse file tree 4 files changed +8
-8
lines changed
Expand file tree Collapse file tree 4 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -33,4 +33,4 @@ public static function getSubscribedEvents(): array
3333 PostExtract::class => 'postExtract ' ,
3434 ];
3535 }
36- }
36+ }
Original file line number Diff line number Diff line change @@ -14,4 +14,4 @@ public function __construct(
1414 public array $ data ,
1515 ) {
1616 }
17- }
17+ }
Original file line number Diff line number Diff line change @@ -14,4 +14,4 @@ public function __construct(
1414 public array $ data ,
1515 ) {
1616 }
17- }
17+ }
Original file line number Diff line number Diff line change @@ -33,16 +33,16 @@ final class MetadataHydrator implements Hydrator
3333
3434 public function __construct (
3535 private readonly MetadataFactory $ metadataFactory = new AttributeMetadataFactory (),
36- PayloadCryptographer |EventDispatcherInterface |null $ eventDispatcherOrCryptographer = null ,
36+ PayloadCryptographer |EventDispatcherInterface |null $ cryptographer = null ,
3737 ) {
38- if ($ eventDispatcherOrCryptographer === null ) {
38+ if ($ cryptographer === null ) {
3939 $ this ->eventDispatcher = null ;
40- } elseif ($ eventDispatcherOrCryptographer instanceof EventDispatcherInterface) {
41- $ this ->eventDispatcher = $ eventDispatcherOrCryptographer ;
40+ } elseif ($ cryptographer instanceof EventDispatcherInterface) {
41+ $ this ->eventDispatcher = $ cryptographer ;
4242 } else {
4343 $ this ->eventDispatcher = new EventDispatcher ();
4444 $ this ->eventDispatcher ->addSubscriber (
45- new CryptographySubscriber ($ eventDispatcherOrCryptographer )
45+ new CryptographySubscriber ($ cryptographer ),
4646 );
4747 }
4848 }
You can’t perform that action at this time.
0 commit comments