Skip to content

Commit e67e2e6

Browse files
author
Caitlin Bales (MSFT)
committed
Return entity after setting ODataType
1 parent 5cbb03f commit e67e2e6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Templates/PHP/Model/EntityType.php.tt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -252,6 +252,7 @@ if (property.Type.GetTypeString()[0] == '\\') { #>
252252
public function setODataType($val)
253253
{
254254
$this->_propDict["@odata.type"] = $val;
255+
return $this;
255256
}
256257

257258
/**

0 commit comments

Comments
 (0)