Skip to content

Commit

Permalink
Remove return from constructor. Add PHPStan 1.4
Browse files Browse the repository at this point in the history
  • Loading branch information
dsmithhayes committed Jul 26, 2024
1 parent 379db49 commit d3ea3eb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
"react/async": "^4 || ^3",
"react/promise-stream": "^1.4",
"react/promise-timer": "^1.9",
"phpstan/phpstan": "^1.11"
"phpstan/phpstan": "^1.4"
},
"autoload": {
"psr-4": {
Expand Down
2 changes: 1 addition & 1 deletion tests/Io/AbstractMessageTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ class MessageMock extends AbstractMessage
*/
public function __construct($protocolVersion, array $headers, StreamInterface $body)
{
return parent::__construct($protocolVersion, $headers, $body);
parent::__construct($protocolVersion, $headers, $body);
}
}

Expand Down

0 comments on commit d3ea3eb

Please sign in to comment.