File tree Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -106,7 +106,7 @@ protected function getParent()
106
106
/**
107
107
* Sets the parent collection.
108
108
*/
109
- protected function setParent (DumperCollection $ parent )
109
+ protected function setParent (self $ parent )
110
110
{
111
111
$ this ->parent = $ parent ;
112
112
}
Original file line number Diff line number Diff line change @@ -118,7 +118,7 @@ public function createBuilder()
118
118
* @param string $prefix
119
119
* @param RouteCollectionBuilder $builder
120
120
*/
121
- public function mount ($ prefix , RouteCollectionBuilder $ builder )
121
+ public function mount ($ prefix , self $ builder )
122
122
{
123
123
$ builder ->prefix = trim (trim ($ prefix ), '/ ' );
124
124
$ this ->routes [] = $ builder ;
@@ -251,8 +251,6 @@ public function setMethods($methods)
251
251
/**
252
252
* Adds a resource for this collection.
253
253
*
254
- * @param ResourceInterface $resource
255
- *
256
254
* @return $this
257
255
*/
258
256
private function addResource (ResourceInterface $ resource )
You can’t perform that action at this time.
0 commit comments