Skip to content

Add .phpstorm.meta.php to improve code completion #1092

Open
@pronskiy

Description

@pronskiy

Folks, adding a .phpstorm.meta.php file with something like this below, would make users' experience with the package in PhpStorm a bit better when using calls like ->api('issue'):

<?php
namespace PHPSTORM_META {
    override( \Github\Client::api(0),
      map( [
        "issue" => \Github\Api\Issue::class,
        //...
    ]));
}

Would you be interested in adding it?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions