Skip to content

Commit e1f670d

Browse files
Fix erroneous named type ".ListItemFormUpdateValue"
1 parent 86b823e commit e1f670d

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/Runtime/ServerTypeInfo.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
use Office365\Complex;
77
use Office365\GraphServiceClient;
88
use Office365\SharePoint\ClientContext;
9+
use Office365\SharePoint\ListItemFormUpdateValue;
910

1011
class ServerTypeInfo
1112
{
@@ -74,6 +75,9 @@ public static function resolve($type)
7475
$typeName = lcfirst($typeName);
7576
}
7677
}
78+
elseif($type instanceof ListItemFormUpdateValue) {
79+
if(is_null($namespace)) $namespace = "SP";
80+
}
7781
elseif($type instanceof Complex){
7882
if(is_null($namespace)) $namespace = "microsoft.graph";
7983
$typeName = lcfirst($typeName);

0 commit comments

Comments
 (0)