Skip to content
Snippets Groups Projects

Issue #3345127: Fix LibraryItemInterface return types

1 file
+ 2
2
Compare changes
  • Side-by-side
  • Inline
@@ -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);
Loading