Skip to content

Conversation

@jrushlow
Copy link
Collaborator

@jrushlow jrushlow commented Apr 2, 2024

Adds DocBlock type hints to:

final non-@internal classes shown below

AbstractMaker

+    /** @param array<class-string, string> $dependencies */
     protected function addDependencies(array $dependencies, ?string $message = null): string

MakeListener

+   /** @return void */
    public function configureDependencies(DependencyBuilder $dependencies)

MakeMigration

+    /** @return void */
     public function setApplication(Application $application)

    ...

+    /** @return void|int */
     public function generate(InputInterface $input, ConsoleStyle $io, Generator $generator)

MakeTest

+    * @return string[]
     */
     public static function getCommandAliases(): iterable

refs #1498

@jrushlow jrushlow added the Feature New Feature label Apr 2, 2024
@jrushlow jrushlow force-pushed the feature/more-type-fixes branch from 6c55d3f to bec2fbd Compare April 2, 2024 23:19
@jrushlow jrushlow merged commit 2564804 into symfony:main Apr 5, 2024
@jrushlow jrushlow deleted the feature/more-type-fixes branch April 5, 2024 14:11
@jrushlow jrushlow mentioned this pull request Apr 5, 2024
2 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Feature New Feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant