Skip to content

Commit 712ddbf

Browse files
authored
Merge pull request #7540 from kenjis/docs-remove-throws
docs: remove unneeded @throws in CodeIgniter
2 parents 9d4e10c + 0012fe3 commit 712ddbf

3 files changed

Lines changed: 0 additions & 8 deletions

File tree

system/CodeIgniter.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -310,8 +310,6 @@ private function configureKint(): void
310310
* makes all of the pieces work together.
311311
*
312312
* @return ResponseInterface|void
313-
*
314-
* @throws RedirectException
315313
*/
316314
public function run(?RouteCollectionInterface $routes = null, bool $returnResponse = false)
317315
{

system/Test/FeatureTestCase.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -148,9 +148,6 @@ public function skipEvents()
148148
* instance that can be used to run many assertions against.
149149
*
150150
* @return FeatureResponse
151-
*
152-
* @throws Exception
153-
* @throws RedirectException
154151
*/
155152
public function call(string $method, string $path, ?array $params = null)
156153
{

system/Test/FeatureTestTrait.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -138,9 +138,6 @@ public function skipEvents()
138138
* instance that can be used to run many assertions against.
139139
*
140140
* @return TestResponse
141-
*
142-
* @throws RedirectException
143-
* @throws Exception
144141
*/
145142
public function call(string $method, string $path, ?array $params = null)
146143
{

0 commit comments

Comments
 (0)