Skip to content

settings->openingbalances->getList calls get() without required parameters causing fatal error #108

@midweste

Description

@midweste

getList calls $this->get() without required parameters:
https://github.com/Weble/ZohoBooksApi/blob/905b00d4a75b689a7f16dc1a5efb3f10a4b7c50e/src/Modules/Settings/OpeningBalances.php#L45C47-L45C47

    /**
     * @return Collection
     */
    public function getList($params = [])
    {
        return new Collection([$this->get()]);
    }


    /**
     * @param string $id
     * @param array $params
     * @return \Webleit\ZohoBooksApi\Models\Model
     */
    public function get ($id, array $params = [])
    {
        return parent::get($id, $params); // TODO: Change the autogenerated stub
    }

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