Skip to content

Commit 112e30c

Browse files
author
Caitlin Bales (MSFT)
authored
Merge pull request #92 from microsoftgraph/cbales-working
Return the entity from setODataType
2 parents c5e1624 + e67e2e6 commit 112e30c

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)