We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 683bad4 commit d94efccCopy full SHA for d94efcc
src/Asana.php
@@ -667,9 +667,7 @@ public function getErrors()
667
*/
668
public function getCustomFields($workspaceId = null)
669
{
670
- if (is_null($workspaceId)) {
671
- $workspaceId = $this->defaultWorkspaceId;
672
- }
+ $workspaceId = $workspaceId ?: $this->defaultWorkspaceId;
673
674
return $this->curl->get("workspaces/{$workspaceId}/custom_fields");
675
}
0 commit comments