Skip to content

Commit 8225526

Browse files
authored
Add void strict type to new model
1 parent 2fd6ef1 commit 8225526

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/Widget/Model/DeleteWidgetById.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ public function __construct(
4646
* @return void
4747
* @throws \Exception
4848
*/
49-
public function execute(int $instanceId)
49+
public function execute(int $instanceId) : void
5050
{
5151
$model = $this->getWidgetById($instanceId);
5252

0 commit comments

Comments
 (0)