Upgrade to 3.2.5

This commit is contained in:
Bastian Allgeier
2019-09-24 11:00:59 +02:00
parent ff9b5b1861
commit 447a9dd266
234 changed files with 1990 additions and 1224 deletions

View File

@@ -14,7 +14,6 @@ namespace Kirby\Cms;
*/
trait HasSiblings
{
/**
* Returns the position / index in the collection
*
@@ -28,7 +27,7 @@ trait HasSiblings
/**
* Returns the next item in the collection if available
*
* @return Kirby\Cms\Model|null
* @return \Kirby\Cms\Model|null
*/
public function next()
{
@@ -38,7 +37,7 @@ trait HasSiblings
/**
* Returns the end of the collection starting after the current item
*
* @return Kirby\Cms\Collection
* @return \Kirby\Cms\Collection
*/
public function nextAll()
{
@@ -48,7 +47,7 @@ trait HasSiblings
/**
* Returns the previous item in the collection if available
*
* @return Kirby\Cms\Model|null
* @return \Kirby\Cms\Model|null
*/
public function prev()
{
@@ -58,7 +57,7 @@ trait HasSiblings
/**
* Returns the beginning of the collection before the current item
*
* @return Kirby\Cms\Collection
* @return \Kirby\Cms\Collection
*/
public function prevAll()
{
@@ -69,7 +68,7 @@ trait HasSiblings
* Returns all sibling elements
*
* @param bool $self
* @return Kirby\Cms\Collection
* @return \Kirby\Cms\Collection
*/
public function siblings(bool $self = true)
{
@@ -125,6 +124,7 @@ trait HasSiblings
/**
* Checks if the item is at a certain position
*
* @param int $n
* @return bool
*/
public function isNth(int $n): bool