Skip to content

Commit

Permalink
Update 10_CustomBricks.md
Browse files Browse the repository at this point in the history
Added missing return statement
  • Loading branch information
Corepex authored Apr 20, 2022
1 parent 503ee5d commit b942d10
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/10_CustomBricks.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ class MyBrick extends AbstractAreabrick
public function action(Info $info): ?Response
{
//call this to activate all the toolbox magic.
parent::action($info);
return parent::action($info);
}
public function getTemplateDirectoryName():string
Expand Down Expand Up @@ -211,4 +211,4 @@ toolbox:
description: Lorem Ipsum
tab: tab2 # <-- add to tab2
config: ~
```
```

0 comments on commit b942d10

Please sign in to comment.