Skip to content

Commit 9ee5ef6

Browse files
committed
fixed @return when returning this or static
1 parent 912bac8 commit 9ee5ef6

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Matcher/Dumper/DumperCollection.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ class DumperCollection implements \IteratorAggregate
3838
/**
3939
* Returns the children routes and collections.
4040
*
41-
* @return DumperCollection[]|DumperRoute[] Array of DumperCollection|DumperRoute
41+
* @return self[]|DumperRoute[]
4242
*/
4343
public function all()
4444
{
@@ -96,7 +96,7 @@ public function getRoot()
9696
/**
9797
* Returns the parent collection.
9898
*
99-
* @return DumperCollection|null The parent collection or null if the collection has no parent
99+
* @return self|null The parent collection or null if the collection has no parent
100100
*/
101101
protected function getParent()
102102
{

RouteCollectionBuilder.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ public function __construct(LoaderInterface $loader = null)
5555
* @param string|null $prefix
5656
* @param string $type
5757
*
58-
* @return RouteCollectionBuilder
58+
* @return self
5959
*
6060
* @throws FileLoaderLoadException
6161
*/
@@ -101,7 +101,7 @@ public function add($path, $controller, $name = null)
101101
/**
102102
* Returns a RouteCollectionBuilder that can be configured and then added with mount().
103103
*
104-
* @return RouteCollectionBuilder
104+
* @return self
105105
*/
106106
public function createBuilder()
107107
{

0 commit comments

Comments
 (0)