diff --git a/src/GatherContentClient.php b/src/GatherContentClient.php index d872193..3e537c2 100644 --- a/src/GatherContentClient.php +++ b/src/GatherContentClient.php @@ -900,7 +900,7 @@ protected function parseLegacyResponse() } /** - * @return \Cheppers\GatherContent\DataTypes\Base[] + * @return array */ protected function parseResponseItems(array $data, $class) { diff --git a/src/GatherContentClientInterface.php b/src/GatherContentClientInterface.php index 669b77d..4a56428 100644 --- a/src/GatherContentClientInterface.php +++ b/src/GatherContentClientInterface.php @@ -99,7 +99,7 @@ public function meGet(); /** * @see https://docs.gathercontent.com/v0.5/reference#get-accounts * - * @return \Cheppers\GatherContent\DataTypes\Account[] + * @return array */ public function accountsGet(); @@ -111,7 +111,7 @@ public function accountGet($accountId); /** * @see https://docs.gathercontent.com/v0.5/reference#get-projects * - * @return \Cheppers\GatherContent\DataTypes\Project[] + * @return array */ public function projectsGet($accountId); @@ -131,7 +131,7 @@ public function projectsPost($accountId, $projectName, $projectType); /** * @see https://docs.gathercontent.com/v0.5/reference#get-project-statuses * - * @return \Cheppers\GatherContent\DataTypes\Status[] + * @return array */ public function projectStatusesGet($projectId); @@ -143,7 +143,7 @@ public function projectStatusGet($projectId, $statusId); /** * @see https://docs.gathercontent.com/reference#listitems * - * @return \Cheppers\GatherContent\DataTypes\Item[] + * @return array */ public function itemsGet($projectId); @@ -219,7 +219,7 @@ public function itemChooseStatusPost($itemId, $statusId); /** * @see https://docs.gathercontent.com/reference#listtemplates * - * @return \Cheppers\GatherContent\DataTypes\Template[] + * @return array */ public function templatesGet($projectId); @@ -280,7 +280,7 @@ public function structureSaveAsTemplatePost($structureUuid, $name); /** * @see https://docs.gathercontent.com/reference#listfolders * - * @return \Cheppers\GatherContent\DataTypes\Folder[] + * @return array */ public function foldersGet($projectId, $includeTrashed = false);