Skip to content

Commit

Permalink
Change: return type in ControllerTestTrait methods
Browse files Browse the repository at this point in the history
  • Loading branch information
iRedds committed Jun 21, 2022
1 parent eac264e commit d2aa1d5
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions system/Test/ControllerTestTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down Expand Up @@ -215,7 +215,7 @@ public function execute(string $method, ...$params)
*
* @param mixed $appConfig
*
* @return mixed
* @return $this
*/
public function withConfig($appConfig)
{
Expand All @@ -229,7 +229,7 @@ public function withConfig($appConfig)
*
* @param mixed $request
*
* @return mixed
* @return $this
*/
public function withRequest($request)
{
Expand All @@ -246,7 +246,7 @@ public function withRequest($request)
*
* @param mixed $response
*
* @return mixed
* @return $this
*/
public function withResponse($response)
{
Expand All @@ -260,7 +260,7 @@ public function withResponse($response)
*
* @param mixed $logger
*
* @return mixed
* @return $this
*/
public function withLogger($logger)
{
Expand All @@ -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)
{
Expand All @@ -286,7 +286,7 @@ public function withUri(string $uri)
*
* @param string|null $body
*
* @return mixed
* @return $this
*/
public function withBody($body)
{
Expand Down

0 comments on commit d2aa1d5

Please sign in to comment.