Skip to content

Commit

Permalink
Seperate assignment from return statement
Browse files Browse the repository at this point in the history
  • Loading branch information
ggppdk committed Oct 18, 2017
1 parent a88108d commit 6d59695
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,8 @@ public function onCustomFieldsGetTypes()
}

// Add to cache and return the data
return $types_cache[$this->_type . $this->_name] = $types;
$types_cache[$this->_type . $this->_name] = $types;
return $types;
}

/**
Expand Down

0 comments on commit 6d59695

Please sign in to comment.