Upgrade to 3.5.5
This commit is contained in:
@@ -31,7 +31,7 @@ class Files extends Collection
|
||||
* current collection
|
||||
*
|
||||
* @param mixed $object
|
||||
* @return self
|
||||
* @return $this
|
||||
*/
|
||||
public function add($object)
|
||||
{
|
||||
@@ -57,7 +57,7 @@ class Files extends Collection
|
||||
*
|
||||
* @param array $files List of file ids
|
||||
* @param int $offset Sorting offset
|
||||
* @return self
|
||||
* @return $this
|
||||
*/
|
||||
public function changeSort(array $files, int $offset = 0)
|
||||
{
|
||||
@@ -76,7 +76,7 @@ class Files extends Collection
|
||||
*
|
||||
* @param array $files
|
||||
* @param \Kirby\Cms\Model $parent
|
||||
* @return self
|
||||
* @return static
|
||||
*/
|
||||
public static function factory(array $files, Model $parent)
|
||||
{
|
||||
@@ -124,7 +124,7 @@ class Files extends Collection
|
||||
* Filter all files by the given template
|
||||
*
|
||||
* @param null|string|array $template
|
||||
* @return self
|
||||
* @return $this|static
|
||||
*/
|
||||
public function template($template)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user