Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions system/Test/FeatureTestTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
use Closure;
use CodeIgniter\Events\Events;
use CodeIgniter\HTTP\Exceptions\RedirectException;
use CodeIgniter\HTTP\Header;
use CodeIgniter\HTTP\IncomingRequest;
use CodeIgniter\HTTP\Method;
use CodeIgniter\HTTP\Request;
Expand All @@ -36,7 +35,7 @@
* against your application in trait format.
*
* @property array<int|string, mixed> $session
* @property array<string, Header|list<Header>> $headers
* @property array<string, list<string>|string> $headers
* @property RouteCollection|null $routes
*
* @mixin CIUnitTestCase
Expand Down Expand Up @@ -115,10 +114,11 @@ public function withSession(?array $values = null)
*
* Example of use
* withHeaders([
* 'Authorization' => 'Token'
* 'Authorization' => 'Token',
* 'Cache-Control' => ['no-cache', 'no-store'],
* ])
*
* @param array<string, Header|list<Header>> $headers Array of headers
* @param array<string, list<string>|string> $headers Array of headers
*
* @return $this
*/
Expand Down
Loading