Skip to content

Commit 4ad4bd3

Browse files
committed
docs: add PHPDoc tags
1 parent adbc291 commit 4ad4bd3

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

system/Config/BaseService.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -346,6 +346,8 @@ public static function serviceExists(string $name): ?string
346346
* Reset shared instances and mocks for testing.
347347
*
348348
* @return void
349+
*
350+
* @testTag only available to test code
349351
*/
350352
public static function reset(bool $initAutoloader = true)
351353
{
@@ -362,6 +364,8 @@ public static function reset(bool $initAutoloader = true)
362364
* Resets any mock and shared instances for a single service.
363365
*
364366
* @return void
367+
*
368+
* @testTag only available to test code
365369
*/
366370
public static function resetSingle(string $name)
367371
{
@@ -375,6 +379,8 @@ public static function resetSingle(string $name)
375379
* @param object $mock
376380
*
377381
* @return void
382+
*
383+
* @testTag only available to test code
378384
*/
379385
public static function injectMock(string $name, $mock)
380386
{

system/Router/Router.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -187,6 +187,7 @@ public function __construct(RouteCollectionInterface $routes, ?Request $request
187187
*
188188
* @return (Closure(mixed...): (ResponseInterface|string|void))|string Controller classname or Closure
189189
*
190+
* @throws BadRequestException
190191
* @throws PageNotFoundException
191192
* @throws RedirectException
192193
*/

0 commit comments

Comments
 (0)