Commit a73a12a2 authored by dpi's avatar dpi Committed by Sascha Grossenbacher
Browse files

Issue #3345127: Fix LibraryItemInterface return types

parent 87146ba3
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -23,7 +23,7 @@ interface LibraryItemInterface extends ContentEntityInterface, EntityOwnerInterf
   * @throws \Exception
   *   If a conversion is attempted for bundles that don't support it.
   *
   * @return \Drupal\paragraphs_library\LibraryItemInterface
   * @return static
   *   The library item entity.
   */
  public static function createFromParagraph(ParagraphInterface $paragraph);
@@ -42,7 +42,7 @@ interface LibraryItemInterface extends ContentEntityInterface, EntityOwnerInterf
   * @param int $timestamp
   *   The library item creation timestamp.
   *
   * @return \Drupal\paragraphs_library\LibraryItemInterface
   * @return $this
   *   The called library item entity.
   */
  public function setCreatedTime($timestamp);