File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -98,7 +98,7 @@ foreach(var property in complex.Properties.Where(prop => prop.Type.GetTypeString
9898 public function get<#=property.Name.ToCheckedCase()#>()
9999 {
100100 if (array_key_exists("<#=property.Name.ToCamelize()#>", $this->_propDict)) {
101- if (is_a($this->_propDict["<#=property.Name.ToCamelize()#>"], "<#=property.Type.GetTypeString()#>")) {
101+ if (is_a($this->_propDict["<#=property.Name.ToCamelize()#>"], "Microsoft\Graph\Model\ <#=property.Type.GetTypeString()#>")) {
102102 return $this->_propDict["<#=property.Name.ToCamelize()#>"];
103103 } else {
104104<# if (property.Type.GetTypeString() == "\\GuzzleHttp\\Psr7\\Stream") { #>
Original file line number Diff line number Diff line change @@ -115,7 +115,7 @@ foreach(var property in entity.Properties.Where(prop => prop.Type.GetTypeString(
115115 public function get<#=property.Name.ToCheckedCase()#>()
116116 {
117117 if (array_key_exists("<#=property.Name.ToCamelize()#>", $this->_propDict)) {
118- if (is_a($this->_propDict["<#=property.Name.ToCamelize()#>"], "<#=property.Type.GetTypeString()#>")) {
118+ if (is_a($this->_propDict["<#=property.Name.ToCamelize()#>"], "Microsoft\Graph\Model\ <#=property.Type.GetTypeString()#>")) {
119119 return $this->_propDict["<#=property.Name.ToCamelize()#>"];
120120 } else {
121121<# if (property.Type.GetTypeString() == "\\GuzzleHttp\\Psr7\\Stream") { #>
You can’t perform that action at this time.
0 commit comments