From d2aa1d57dbed4c72e95567e318e4f16331ff7c24 Mon Sep 17 00:00:00 2001 From: Andrey Pyzhikov <5071@mail.ru> Date: Tue, 21 Jun 2022 23:35:41 +0800 Subject: [PATCH] Change: return type in ControllerTestTrait methods --- system/Test/ControllerTestTrait.php | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/system/Test/ControllerTestTrait.php b/system/Test/ControllerTestTrait.php index c5e255b732e4..2c60c250cf34 100644 --- a/system/Test/ControllerTestTrait.php +++ b/system/Test/ControllerTestTrait.php @@ -126,7 +126,7 @@ protected function setUpControllerTestTrait(): void /** * Loads the specified controller, and generates any needed dependencies. * - * @return mixed + * @return $this */ public function controller(string $name) { @@ -215,7 +215,7 @@ public function execute(string $method, ...$params) * * @param mixed $appConfig * - * @return mixed + * @return $this */ public function withConfig($appConfig) { @@ -229,7 +229,7 @@ public function withConfig($appConfig) * * @param mixed $request * - * @return mixed + * @return $this */ public function withRequest($request) { @@ -246,7 +246,7 @@ public function withRequest($request) * * @param mixed $response * - * @return mixed + * @return $this */ public function withResponse($response) { @@ -260,7 +260,7 @@ public function withResponse($response) * * @param mixed $logger * - * @return mixed + * @return $this */ public function withLogger($logger) { @@ -272,7 +272,7 @@ public function withLogger($logger) /** * Set the controller's URI, with method chaining. * - * @return mixed + * @return $this */ public function withUri(string $uri) { @@ -286,7 +286,7 @@ public function withUri(string $uri) * * @param string|null $body * - * @return mixed + * @return $this */ public function withBody($body) {