Verified Commit 9e8f4c8e authored by Alex Pott's avatar Alex Pott
Browse files

Issue #3269215 by slucero, dpi: EntityTypeInterface::getKey() is typehinted as...

Issue #3269215 by slucero, dpi: EntityTypeInterface::getKey() is typehinted as possibly returning bool, but never returns true
parent 362fc2d5
Loading
Loading
Loading
Loading
+1 −1
Changes for core/lib/Drupal/Core/Entity/EntityTypeInterface.php: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -107,7 +107,7 @@ public function getKeys();
   * @param string $key
   *   The name of the entity key to return.
   *
   * @return string|bool
   * @return string|false
   *   The entity key, or FALSE if it does not exist.
   *
   * @see self::getKeys()