Skip to content

Commit

Permalink
[DOCS] Fix code example and docblock for ModifyImageSourceCollectionE…
Browse files Browse the repository at this point in the history
…vent

Resolves: #102718
Related: #102624
Releases: main
Change-Id: I50ee2b8bbbc472f0fec330adc88acee1e78b540f
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/82278
Tested-by: Oliver Klee <typo3-coding@oliverklee.de>
Reviewed-by: Oliver Klee <typo3-coding@oliverklee.de>
Tested-by: Stefan Bürk <stefan@buerk.tech>
Reviewed-by: Stefan Bürk <stefan@buerk.tech>
Tested-by: core-ci <typo3@b13.com>
  • Loading branch information
brotkrueml authored and sbuerk committed Dec 26, 2023
1 parent d269254 commit 3b5c746
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ registration:
final class ModifyImageSourceCollectionEventListener
{
#[AsEventListener]
public function __invoke(AfterGetDataResolvedEvent $event): void
public function __invoke(ModifyImageSourceCollectionEvent $event): void
{
$event->setSourceCollection('<source src="bar-file.jpg" media="(max-device-width: 600px)">');
}
Expand Down

0 comments on commit 3b5c746

Please sign in to comment.