Skip to content

Commit

Permalink
OP-461: TemplateContext fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jkindly committed Jul 31, 2024
1 parent a92a6ef commit ff64c4e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/Behat/Context/Setup/TemplateContext.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ public function __construct(
* @Given there is a template in the store with :name name
* @Given there is a template in the store with :name name and :type type
*/
public function thereIsATemplate(string $name, ?string $type): void
public function thereIsATemplate(string $name, ?string $type = null): void
{
$template = $this->createTemplate($name, $type);

Expand Down

0 comments on commit ff64c4e

Please sign in to comment.