Skip to content

Commit 99db93b

Browse files
authored
Merge pull request #350 from VincentFoulon80/bugfix/list-item-form-update-value
Fix "A type named '.ListItemFormUpdateValue' could not be resolved" error
2 parents 86b823e + 14b68ac commit 99db93b

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/SharePoint/ListItemFormUpdateValue.php

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@
66
namespace Office365\SharePoint;
77

88
use 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).

0 commit comments

Comments
 (0)