Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sniffer does not recognise function in array #93

Open
trylika opened this issue Apr 14, 2015 · 3 comments
Open

Sniffer does not recognise function in array #93

trylika opened this issue Apr 14, 2015 · 3 comments

Comments

@trylika
Copy link
Contributor

trylika commented Apr 14, 2015

similar to #80 , but this time, standard requires comma on assigning function to array.
that similar issue was fixed by #89, but that fix seems not to fix such problem. Cannot test it, as of there is no new release of strict standard....

            $builder->add(
                'administrator',
                'enitity',
                [
                    'class' => '...',
                    'query_builder' => function (EntityRepository $er) {
                        return $er->createQueryBuilder('u')
                            ->orderBy('u.username', 'ASC');
                    },
                ]
            );
@trylika
Copy link
Contributor Author

trylika commented Apr 27, 2015

anybody? @saimaz @tautrimas

@tautrimas
Copy link
Contributor

I can confirm this with v2.1.1.

@trylika
Copy link
Contributor Author

trylika commented Sep 30, 2015

ping on this issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants