Skip to content

Commit

Permalink
Fix signature
Browse files Browse the repository at this point in the history
  • Loading branch information
muglug committed Feb 10, 2022
1 parent 1615198 commit 547f11e
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions tests/JsonOutputTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,15 +43,14 @@ public function setUp(): void

/**
* @dataProvider providerTestJsonOutputErrors
*
* @param string $code
* @param string $message
* @param int $line_number
* @param string $error
*
*/
public function testJsonOutputErrors($code, $error_count, $message, $line_number, $error): void
{
public function testJsonOutputErrors(
string $code,
int $error_count,
string $message,
int $line_number,
string $error
): void {
$this->addFile('somefile.php', $code);
$this->analyzeFile('somefile.php', new Context());
$all_issue_data = IssueBuffer::getIssuesData()['somefile.php'];
Expand Down

0 comments on commit 547f11e

Please sign in to comment.