File tree Expand file tree Collapse file tree 3 files changed +7
-2
lines changed
Expand file tree Collapse file tree 3 files changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -49,6 +49,11 @@ as [Wikimedia Germany](https://wikimedia.de) employee for the [Wikidata project]
4949
5050## Release notes
5151
52+ ### 1.2.0 (2017-01-31)
53+
54+ * Improved error reporting in the ` DataValueDeserializer ` constructor.
55+ * Added a basic PHPCS rule set, can be run with ` composer phpcs ` .
56+
5257### 1.1.0 (2016-05-24)
5358
5459* Added support for builder functions to ` DataValueDeserializer `
Original file line number Diff line number Diff line change 3838 },
3939 "extra" : {
4040 "branch-alias" : {
41- "dev-master" : " 1.1 .x-dev"
41+ "dev-master" : " 1.2 .x-dev"
4242 }
4343 },
4444 "scripts" : {
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ class DataValueSerializer implements DispatchableSerializer {
2020 * @param DataValue $object
2121 *
2222 * @throws UnsupportedObjectException
23- * @return array|int|string|bool|float
23+ * @return array
2424 */
2525 public function serialize ( $ object ) {
2626 if ( $ this ->isSerializerFor ( $ object ) ) {
You can’t perform that action at this time.
0 commit comments