Skip to content

Commit

Permalink
call parent constructor
Browse files Browse the repository at this point in the history
  • Loading branch information
pbibra committed Oct 6, 2023
1 parent 9fecfc6 commit 73049e4
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/AsyncMysql/AsyncMysqlQueryErrorResult.hack
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,9 @@ namespace Slack\SQLFake;
<<__MockClass>>
final class AsyncMysqlQueryErrorResult extends \AsyncMysqlQueryErrorResult {

/* HH_IGNORE_ERROR[3012] I don't want to call parent::construct */
public function __construct(private int $mysql_errno = 1105, private string $mysql_error = 'ERUnknownError') {}
public function __construct(private int $mysql_errno = 1105, private string $mysql_error = 'ERUnknownError') {
parent::__construct();
}

<<__Override>>
// HHAST_IGNORE_ERROR[CamelCasedMethodsUnderscoredFunctions]
Expand Down

0 comments on commit 73049e4

Please sign in to comment.