glayzzle / glayzzle/php-reflection

`Class.getMethods()` returns `Object` instead of `Method[]`

Open
#27 4 comments 0 reactions 0 assignees View on GitHub
bug help wanted
Dominant language
JavaScript
Stars
28
Forks
3
PR merge metrics
No merged PRs in 30d

Description

The [`getMethods` function of the `Class`](https://github.com/glayzzle/php-reflection/blob/c21cf902b7d3fd033bffdecebf01f953cfff6373/src/nodes/class.js#L117) class returns an `Object` rather than an array of `Method` objects, as the name suggests. This also contradicts the type defined for this method in [index.d.ts](https://github.com/glayzzle/php-reflection/blob/c21cf902b7d3fd033bffdecebf01f953cfff6373/index.d.ts#L237).

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.