Skip to content

Commit 8606a6b

Browse files
authored
Merge pull request #7442 from ping-yee/replace-mixed-router
2 parents 5eefbec + eac2684 commit 8606a6b

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

system/Router/RouteCollectionInterface.php

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ interface RouteCollectionInterface
3131
* @param array|Closure|string $to
3232
* @param array $options
3333
*
34-
* @return mixed
34+
* @return RouteCollectionInterface
3535
*/
3636
public function add(string $from, $to, ?array $options = null);
3737

@@ -46,31 +46,31 @@ public function add(string $from, $to, ?array $options = null);
4646
* @param array|string $placeholder
4747
* @param string $pattern
4848
*
49-
* @return mixed
49+
* @return RouteCollectionInterface
5050
*/
5151
public function addPlaceholder($placeholder, ?string $pattern = null);
5252

5353
/**
5454
* Sets the default namespace to use for Controllers when no other
5555
* namespace has been specified.
5656
*
57-
* @return mixed
57+
* @return RouteCollectionInterface
5858
*/
5959
public function setDefaultNamespace(string $value);
6060

6161
/**
6262
* Sets the default controller to use when no other controller has been
6363
* specified.
6464
*
65-
* @return mixed
65+
* @return RouteCollectionInterface
6666
*/
6767
public function setDefaultController(string $value);
6868

6969
/**
7070
* Sets the default method to call on the controller when no other
7171
* method has been set in the route.
7272
*
73-
* @return mixed
73+
* @return RouteCollectionInterface
7474
*/
7575
public function setDefaultMethod(string $value);
7676

@@ -81,7 +81,7 @@ public function setDefaultMethod(string $value);
8181
* find words and meaning in the URI for better SEO. But it
8282
* doesn't work well with PHP method names....
8383
*
84-
* @return mixed
84+
* @return RouteCollectionInterface
8585
*/
8686
public function setTranslateURIDashes(bool $value);
8787

0 commit comments

Comments
 (0)