Commit 663d0d46 authored by catch's avatar catch
Browse files

Issue #3340272 by royalpinto007, Chi: Fix return type for EntityStorageBase::doPreSave() method

parent 87d90f94
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -497,8 +497,8 @@ public function save(EntityInterface $entity) {
   * @param \Drupal\Core\Entity\EntityInterface $entity
   *   The saved entity.
   *
   * @return int|string
   *   The processed entity identifier.
   * @return int|string|null
   *   The processed entity identifier, or null for new entities.
   *
   * @throws \Drupal\Core\Entity\EntityStorageException
   *   If the entity identifier is invalid.