Skip to content

Padawan does not autocomplete when inside a multi-line associative array #23

Description

@allan-simon

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions