Skip to content

Problem with the delete method in Api/Shipments #6

@dannehl

Description

@dannehl

Declaration of ComyoMedia\Shipcloud\Api\Shipments::delete($id) should be compatible with ComyoMedia\Shipcloud\Api\Api::delete($uri = NULL, $parameters = Array, $body = Array).

Renaming it to something different like destroy() should help!


    public function destroy($id)
    {
        return $this->delete("shipments/{$id}");
    }

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