Skip to content

Commit

Permalink
Clean-up dependencies in AdminWidget
Browse files Browse the repository at this point in the history
The 'view' service is provided by the parent class `AbstractWidget`.
  • Loading branch information
mcaskill committed Nov 9, 2022
1 parent 1a31df1 commit 5d75d30
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion packages/admin/src/Charcoal/Admin/AdminWidget.php
Original file line number Diff line number Diff line change
Expand Up @@ -469,7 +469,6 @@ protected function setDependencies(Container $container)

// Satisfies AdminWidget dependencies
$this->setModelFactory($container['model/factory']);
$this->setView($container['view']);
}

/**
Expand Down

0 comments on commit 5d75d30

Please sign in to comment.