I have the following code
<?php
class A {
public function foo(){}
}
$a = new A();
// place X
[
'a' => $a // place Y
];
If i try now to type $a-> at place X it will work, but if it try to type -> at place Y, it will not
if the array is a multiline normal one , it does work , same for multiline function call
I have the following code
If i try now to type
$a->at place X it will work, but if it try to type->at place Y, it will notif the array is a multiline normal one , it does work , same for multiline function call