Skip to content

Commit 2446098

Browse files
[4.4] Add missing @return annotations
1 parent 3d5644d commit 2446098

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

Loader/Configurator/CollectionConfigurator.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,9 @@ public function __construct(RouteCollection $parent, string $name, self $parentC
3636
$this->parentPrefixes = $parentPrefixes;
3737
}
3838

39+
/**
40+
* @return array
41+
*/
3942
public function __sleep()
4043
{
4144
throw new \BadMethodCallException('Cannot serialize '.__CLASS__);

Loader/Configurator/ImportConfigurator.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,9 @@ public function __construct(RouteCollection $parent, RouteCollection $route)
3030
$this->route = $route;
3131
}
3232

33+
/**
34+
* @return array
35+
*/
3336
public function __sleep()
3437
{
3538
throw new \BadMethodCallException('Cannot serialize '.__CLASS__);

0 commit comments

Comments
 (0)