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}");
}