Skip to content

Commit

Permalink
Update ArticleInjectorWidget.php
Browse files Browse the repository at this point in the history
  • Loading branch information
bobdenotter committed Aug 21, 2020
1 parent c8ae73a commit 444a8e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ArticleInjectorWidget.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ public function __construct()
{
}

public function run(): ?string
public function run(array $params = []): ?string
{
// Only output when editing a page.
if ($this->getExtension()->getRequest()->get('_route') !== 'bolt_content_edit') {
Expand Down

0 comments on commit 444a8e6

Please sign in to comment.