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

Adding parameters of type that exists in "use" statements #37

@postalservice14

Description

@postalservice14

Unless I'm missing something, there is no way to add a type-hinted parameter to a method that does not use the fully-qualified name (as it exists as a use statement).

e.g. (See SomeClass type-hint in method)

use Foo\Bar\SomeClass; class GeneratedClass { public function generatedMethod(SomeClass $instance) { } }

If you don't supply a fully-qualified name, it looks like:

use Foo\Bar\SomeClass; class GeneratedClass { public function generatedMethod(\SomeClass $instance) { } }

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions