Skip to content

Commit cac7bf3

Browse files
authored
Merge pull request #6168 from iRedds/fix/controller-test-trait
Change: PHPDoc return type in ControllerTestTrait methods
2 parents 91909c4 + d2aa1d5 commit cac7bf3

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

system/Test/ControllerTestTrait.php

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ protected function setUpControllerTestTrait(): void
126126
/**
127127
* Loads the specified controller, and generates any needed dependencies.
128128
*
129-
* @return mixed
129+
* @return $this
130130
*/
131131
public function controller(string $name)
132132
{
@@ -215,7 +215,7 @@ public function execute(string $method, ...$params)
215215
*
216216
* @param mixed $appConfig
217217
*
218-
* @return mixed
218+
* @return $this
219219
*/
220220
public function withConfig($appConfig)
221221
{
@@ -229,7 +229,7 @@ public function withConfig($appConfig)
229229
*
230230
* @param mixed $request
231231
*
232-
* @return mixed
232+
* @return $this
233233
*/
234234
public function withRequest($request)
235235
{
@@ -246,7 +246,7 @@ public function withRequest($request)
246246
*
247247
* @param mixed $response
248248
*
249-
* @return mixed
249+
* @return $this
250250
*/
251251
public function withResponse($response)
252252
{
@@ -260,7 +260,7 @@ public function withResponse($response)
260260
*
261261
* @param mixed $logger
262262
*
263-
* @return mixed
263+
* @return $this
264264
*/
265265
public function withLogger($logger)
266266
{
@@ -272,7 +272,7 @@ public function withLogger($logger)
272272
/**
273273
* Set the controller's URI, with method chaining.
274274
*
275-
* @return mixed
275+
* @return $this
276276
*/
277277
public function withUri(string $uri)
278278
{
@@ -286,7 +286,7 @@ public function withUri(string $uri)
286286
*
287287
* @param string|null $body
288288
*
289-
* @return mixed
289+
* @return $this
290290
*/
291291
public function withBody($body)
292292
{

0 commit comments

Comments
 (0)