File tree Expand file tree Collapse file tree 1 file changed +0
-16
lines changed Expand file tree Collapse file tree 1 file changed +0
-16
lines changed Original file line number Diff line number Diff line change 22
22
use PhpParser \Node \Expr \Ternary ;
23
23
use PhpParser \Node \Expr \Yield_ ;
24
24
use PhpParser \Node \InterpolatedStringPart ;
25
- use PhpParser \Node \Param ;
26
25
use PhpParser \Node \Scalar \Float_ ;
27
26
use PhpParser \Node \Scalar \Int_ ;
28
27
use PhpParser \Node \Scalar \InterpolatedString ;
@@ -430,21 +429,6 @@ protected function pExpr_MethodCall(MethodCall $methodCall): string
430
429
. '( ' . $ this ->pMaybeMultiline ($ methodCall ->args ) . ') ' ;
431
430
}
432
431
433
- /**
434
- * Keep attributes on newlines
435
- */
436
- protected function pParam (Param $ param ): string
437
- {
438
- return $ this ->pAttrGroups ($ param ->attrGroups )
439
- . $ this ->pModifiers ($ param ->flags )
440
- . ($ param ->type instanceof Node ? $ this ->p ($ param ->type ) . ' ' : '' )
441
- . ($ param ->byRef ? '& ' : '' )
442
-
6883
. ($ param ->variadic ? '... ' : '' )
443
- . $ this ->p ($ param ->var )
444
- . ($ param ->default instanceof Expr ? ' = ' . $ this ->p ($ param ->default ) : '' )
445
- . ($ param ->hooks !== [] ? ' { ' . $ this ->pStmts ($ param ->hooks ) . $ this ->nl . '} ' : '' );
446
- }
447
-
448
432
protected function pInfixOp (
449
433
string $ class ,
450
434
Node $ leftNode ,
You can’t perform that action at this time.
0 commit comments