Skip to content

Commit ac06385

Browse files
committed
fix: add missing space after comma on call argument
1 parent 324000a commit ac06385

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/print/CallExpression.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ const p = (node, path, print, options) => {
2323
// there is exactly one object parameter
2424
parts.push(mappedArguments[0], ")");
2525
} else if (options.experimentalMethodChainIndentation) {
26-
parts.push(indent([join([","], mappedArguments)]), ")");
26+
parts.push(indent([join([", "], mappedArguments)]), ")");
2727
} else {
2828
parts.push(
2929
indent([softline, join([",", line], mappedArguments)]),

tests/Experimental/__snapshots__/chain_indentation.snap.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
.setController('App\\Controller\\Dashboard\\CRUD\\TacheCrudController')
66
.setAction('edit')
77
.setEntityId(tache.id)
8-
.set('sort',null)
8+
.set('sort', null)
99
}}">
1010
<i class="fa-solid fa-edit"></i>
1111
</a>

0 commit comments

Comments
 (0)