Update docblocks to return the actual type [#3350]

This commit is contained in:
Matias Griese
2021-05-07 13:26:24 +03:00
parent 7ca7d8e045
commit 1a28155f1c
3 changed files with 3 additions and 3 deletions

View File

@@ -433,7 +433,7 @@ class PageCollection extends FlexPageCollection implements PageCollectionInterfa
* @param string|null $startDate
* @param string|null $endDate
* @param string|null $field
* @return PageCollectionInterface
* @return static
* @throws Exception
*/
public function dateRange($startDate = null, $endDate = null, $field = null)

View File

@@ -956,7 +956,7 @@ class PageIndex extends FlexPageIndex implements PageCollectionInterface
* @param string|null $startDate
* @param string|null $endDate
* @param string|null $field
* @return PageCollectionInterface
* @return static
* @throws Exception
*/
public function dateRange($startDate = null, $endDate = null, $field = null)

View File

@@ -326,7 +326,7 @@ class Collection extends Iterator implements PageCollectionInterface
* @param string|null $startDate
* @param string|null $endDate
* @param string|null $field
* @return PageCollectionInterface
* @return $this
* @throws Exception
*/
public function dateRange($startDate = null, $endDate = null, $field = null)