Skip to content
Snippets Groups Projects
Commit 3c5442cd authored by Lee Rowlands's avatar Lee Rowlands Committed by Rick Hawkins
Browse files

Issue #3281515 by larowlan: KeyRepository::getKey can return NULL, fix typehint

parent bceba05c
Branches
Tags
No related merge requests found
...@@ -73,7 +73,7 @@ interface KeyRepositoryInterface { ...@@ -73,7 +73,7 @@ interface KeyRepositoryInterface {
* @param string $key_id * @param string $key_id
* The key ID to use. * The key ID to use.
* *
* @return \Drupal\key\Entity\Key * @return \Drupal\key\Entity\Key|null
* The key object with the given id. * The key object with the given id.
*/ */
public function getKey($key_id); public function getKey($key_id);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment