Skip to content

Commit

Permalink
Fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
theseer committed Jul 28, 2021
1 parent 22426c0 commit b0fa304
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 1 addition & 0 deletions src/Tokenizer.php
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ public function parse(string $source): TokenCollection {
if ($v === '') {
continue;
}

$result->addToken($token);
}
}
Expand Down
3 changes: 1 addition & 2 deletions tests/TokenizerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,7 @@ public function testFileWithSingleEmptyLineGetsParsed(): void {
$this->assertParsedTokensMatchFixture('source_with_single_empty_line.php');
}

private function assertParsedTokensMatchFixture(string $fixture): void
{
private function assertParsedTokensMatchFixture(string $fixture): void {
$expected = \unserialize(
\file_get_contents(__DIR__ . '/_files/' . $fixture . '.tokens'),
[TokenCollection::class, Token::class]
Expand Down

0 comments on commit b0fa304

Please sign in to comment.