diff --git a/src/Asana.php b/src/Asana.php
index <HASH>..<HASH> 100644
--- a/src/Asana.php
+++ b/src/Asana.php
@@ -667,9 +667,7 @@ class Asana
 	 */

 	public function getCustomFields($workspaceId = null)

 	{

-        if (is_null($workspaceId)) {

-            $workspaceId = $this->defaultWorkspaceId;

-        }

+        $workspaceId = $workspaceId ?: $this->defaultWorkspaceId;

 

 		return $this->curl->get("workspaces/{$workspaceId}/custom_fields");

 	}
use ternary operator instead of if statement