Skip to content
This repository was archived by the owner on Sep 16, 2021. It is now read-only.

Commit 8e887e2

Browse files
nitsodbu
authored andcommitted
Fixed misprint
Actually there should be `getSettings` call
1 parent 10447ec commit 8e887e2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bundles/block/create_your_own_blocks.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ that knows how to fetch the feed data of an ``RssBlock``::
145145
$settings = $blockContext->getSettings();
146146
$resolver = new OptionsResolver();
147147
$resolver->setDefaults($settings);
148-
$settings = $resolver->resolve($block->getOptions());
148+
$settings = $resolver->resolve($block->getSettings());
149149

150150
$feeds = false;
151151
if ($settings['url']) {

0 commit comments

Comments
 (0)