Skip to content

Commit

Permalink
Added style fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
jaxwilko committed Mar 15, 2022
1 parent 6ee5ec3 commit 725fb4d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/Parse/PHP/ArrayPrinter.php
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,8 @@ protected function pMaybeMultiline(array $nodes, bool $trailingComma = false)
*
* @return string Comma separated pretty printed nodes in multiline style
*/
protected function pCommaSeparatedMultiline(array $nodes, bool $trailingComma) : string {
protected function pCommaSeparatedMultiline(array $nodes, bool $trailingComma): string
{
$this->indent();

$result = '';
Expand Down
2 changes: 1 addition & 1 deletion tests/fixtures/parse/arrayfile/invalid.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

function winterTest (string $str) {
function winterTest(string $str) {
return $str . ' Winter';
}

Expand Down

0 comments on commit 725fb4d

Please sign in to comment.