Skip to content

Commit

Permalink
refactor (bookmark): split doc block line to pass ci max length
Browse files Browse the repository at this point in the history
  • Loading branch information
c0nst4ntin committed Jan 2, 2025
1 parent 0040d92 commit 263d801
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
6 changes: 4 additions & 2 deletions src/Prismic/Api.php
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,8 @@ public function getRefFromLabel(string $label) :? Ref
* Returns the list of all bookmarks on the repository. If you're looking
* for a document from it's bookmark name, you should use the bookmark() function.
*
* @deprecated 5.4.0 This method will no longer work after the 12 February 2025, as bookmarks are removed from the API.
* @deprecated 5.4.0 This method will no longer work after the 12 February 2025,
* as bookmarks are removed from the API.
*
* @return array the array of bookmarks
*/
Expand All @@ -167,7 +168,8 @@ public function bookmarks() : array
* Most starter projects embed a helper to query a document from their ID string,
* which makes this even easier.
*
* @deprecated 5.4.0 This method will no longer work after the 12 February 2025, as bookmarks are removed from the API.
* @deprecated 5.4.0 This method will no longer work after the 12 February 2025,
* as bookmarks are removed from the API.
*
* @param string $name the bookmark name to use
*
Expand Down
3 changes: 2 additions & 1 deletion src/Prismic/ApiData.php
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,8 @@ public function getRefs() : array
/**
* Get the bookmarks
*
* @deprecated 5.4.0 This method will no longer work after the 12 February 2025, as bookmarks are removed from the API.
* @deprecated 5.4.0 This method will no longer work after the 12 February 2025,
* as bookmarks are removed from the API.
*/
public function getBookmarks() : array
{
Expand Down

0 comments on commit 263d801

Please sign in to comment.