Skip to content

Commit 54dbc78

Browse files
authored
Update rector (#100)
1 parent cb88e3d commit 54dbc78

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
"httpsoft/http-message": "^1.0.9",
4242
"maglnet/composer-require-checker": "^4.4",
4343
"phpunit/phpunit": "^9.5",
44-
"rector/rector": "^0.19.0",
44+
"rector/rector": "^1.0",
4545
"roave/infection-static-analysis-plugin": "^1.16",
4646
"spatie/phpunit-watcher": "^1.23",
4747
"vimeo/psalm": "^4.30|^5.20",

src/ThrowableRendererInterface.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,19 +17,15 @@ interface ThrowableRendererInterface
1717
/**
1818
* Returns error data suitable for adding it to response in production environment.
1919
*
20-
* @param Throwable $t
2120
* @param ServerRequestInterface|null $request
22-
*
2321
* @return ErrorData
2422
*/
2523
public function render(Throwable $t, ServerRequestInterface $request = null): ErrorData;
2624

2725
/**
2826
* Returns error data suitable for adding it to response in development environment.
2927
*
30-
* @param Throwable $t
3128
* @param ServerRequestInterface|null $request
32-
*
3329
* @return ErrorData
3430
*/
3531
public function renderVerbose(Throwable $t, ServerRequestInterface $request = null): ErrorData;

0 commit comments

Comments
 (0)