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

Set typed properties for the Generator class. #933

Open
laurentmuller opened this issue Jan 17, 2025 · 1 comment · May be fixed by #943
Open

Set typed properties for the Generator class. #933

laurentmuller opened this issue Jan 17, 2025 · 1 comment · May be fixed by #943

Comments

@laurentmuller
Copy link

laurentmuller commented Jan 17, 2025

It will be nice to set types for the Generator class:

class Generator
{
    /**
     * @var Base[]
     */ 
    protected $providers = [];

    /**
     * @return Base[]
     */ 
    public function getProviders()
    {
        // ...
    }

    public function addProvider(Base $provider)
    {
        // ...
    }
Copy link

stale bot commented Jan 31, 2025

This issue has been automatically marked as stale because it has not had recent activity. It will be closed after 1 week if no further activity occurs. Thank you for your contributions.

@laurentmuller laurentmuller linked a pull request Feb 3, 2025 that will close this issue
6 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant