File tree Expand file tree Collapse file tree 2 files changed +8
-4
lines changed
Expand file tree Collapse file tree 2 files changed +8
-4
lines changed Original file line number Diff line number Diff line change 66use Office365 \Complex ;
77use Office365 \GraphServiceClient ;
88use Office365 \SharePoint \ClientContext ;
9- use Office365 \SharePoint \ListItemFormUpdateValue ;
109
1110class ServerTypeInfo
1211{
@@ -75,9 +74,6 @@ public static function resolve($type)
7574 $ typeName = lcfirst ($ typeName );
7675 }
7776 }
78- elseif ($ type instanceof ListItemFormUpdateValue) {
79- if (is_null ($ namespace )) $ namespace = "SP " ;
80- }
8177 elseif ($ type instanceof Complex){
8278 if (is_null ($ namespace )) $ namespace = "microsoft.graph " ;
8379 $ typeName = lcfirst ($ typeName );
Original file line number Diff line number Diff line change 66namespace Office365 \SharePoint ;
77
88use Office365 \Runtime \ClientValue ;
9+ use Office365 \Runtime \ServerTypeInfo ;
10+
911/**
1012 * Specifies
1113 * the properties of a list itemfield (2)
@@ -32,6 +34,12 @@ public function toJson()
3234 return $ json ;
3335 }
3436
37+
38+ public function getServerTypeInfo ()
39+ {
40+ return new ServerTypeInfo ("SP " , "ListItemFormUpdateValue " );
41+ }
42+
3543 /**
3644 * Specifies
3745 * the error message result after validating the value for the field (2).
You can’t perform that action at this time.
0 commit comments