Skip to content

Latest commit

 

History

History
18 lines (12 loc) · 477 Bytes

File metadata and controls

18 lines (12 loc) · 477 Bytes

Upgrade Guide

Upgrading To 3.0 From 2.x

Retrieving Work Items

PR: #56

The workItems() method now returns a LengthAwarePaginatedResponse instead of a plain array. Update any code that expects an array to use the paginated response object instead, for example:

// Before (2.x)
$items = $client->workItems($project);

// After (3.0)
$response = $client->workItems($project);
$items = $response->items;