Skip to content

Commit 0a35d2f

Browse files
Merge branch '5.2' into 5.3
* 5.2: [5.2] Add missing `@return` annotations [4.4] Add missing `@return` annotations Handle lock with long key #42227 update phpdoc to recommend createIndex over ensureIndex
2 parents 9d983fd + 983a190 commit 0a35d2f

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
@@ -38,6 +38,9 @@ public function __construct(RouteCollection $parent, string $name, self $parentC
3838
$this->parentPrefixes = $parentPrefixes;
3939
}
4040

41+
/**
42+
* @return array
43+
*/
4144
public function __sleep()
4245
{
4346
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)