// is this allowed or is it a personal preference?
SomeClass::someMethod([
'arg1' => 111,
], [
'arg2' => SomeClass::someMethod([
'arg5' => 999
]),
], [
'arg3' => [
'arg4' => 'zzz'
]
]);
//
// vs all array notations must be in new line
//
SomeClass::someMethod(
[
'arg1' => 111,
],
[
'arg2' => SomeClass::someMethod(
[
'arg5' => 999
]
),
],
[
'arg3' => [
'arg4' => 'zzz'
],
]
);
--
You received this message because you are subscribed to the Google Groups "PHP
Framework Interoperability Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/php-fig/ebed20eb-b540-4b93-8d76-e75c2fe5a741%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.