Commit 891a973c authored by Dries's avatar Dries

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

Issue #2253987 by Mixologic: ShortcutAccessController.php should typehint ShortcutSetStorageInterface.
parent 6665d2eb
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment