Skip to content
Snippets Groups Projects
Commit 891a973c authored by Dries Buytaert's avatar Dries Buytaert
Browse files

Issue #2253987 by Mixologic: ShortcutAccessController.php should typehint...

Issue #2253987 by Mixologic: ShortcutAccessController.php should typehint ShortcutSetStorageInterface.
parent 6665d2eb
No related branches found
No related tags found
No related merge requests found
......@@ -22,7 +22,7 @@ class ShortcutAccessController extends EntityAccessController implements EntityC
/**
* The shortcut_set storage.
*
* @var \Drupal\shortcut\ShortcutSetStorage
* @var \Drupal\shortcut\ShortcutSetStorageInterface
*/
protected $shortcutSetStorage;
......@@ -31,10 +31,10 @@ class ShortcutAccessController extends EntityAccessController implements EntityC
*
* @param \Drupal\Core\Entity\EntityTypeInterface $entity_type
* The entity type definition.
* @param \Drupal\shortcut\ShortcutSetStorage $shortcut_set_storage
* @param \Drupal\shortcut\ShortcutSetStorageInterface $shortcut_set_storage
* The shortcut_set storage.
*/
public function __construct(EntityTypeInterface $entity_type, ShortcutSetStorage $shortcut_set_storage) {
public function __construct(EntityTypeInterface $entity_type, ShortcutSetStorageInterface $shortcut_set_storage) {
parent::__construct($entity_type);
$this->shortcutSetStorage = $shortcut_set_storage;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment