Skip to content
This repository has been archived by the owner on Jan 29, 2020. It is now read-only.

ParameterGenerator always fails with variadic parameters #6

Open
Ocramius opened this issue Aug 30, 2015 · 1 comment
Open

ParameterGenerator always fails with variadic parameters #6

Ocramius opened this issue Aug 30, 2015 · 1 comment

Comments

@Ocramius
Copy link
Member

The ParameterGenerator always considers ReflectionParameter#isOptional() when checking for default parameter values.

A variadic argument is, though, always optional and never has a default value.

@michalbundyra
Copy link
Member

This repository has been closed and moved to laminas/laminas-code; a new issue has been opened at laminas/laminas-code#35.

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

No branches or pull requests

3 participants