Skip to content

Error in Generator #284

@Khorsa

Description

@Khorsa

Generator has an error of public/private/protection attribute detection in files:
\src\generator\project\objects\MethodObject.php
\src\generator\project\objects\MemberObject.php

    public function isPublic() {
        return $this->node->getAttribute('visibility', 'public') == 'public';
    }
    public function isPrivate() {
        return $this->node->getAttribute('visibility', 'public') == 'private';
    }
    public function isProtected() {
        return $this->node->getAttribute('visibility', 'public') == 'protected';
    }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions