Skip to content

Commit f872b09

Browse files
authored
Merge pull request #26 from DataValues/release120
Release 1.2.0
2 parents c92eb62 + 719c215 commit f872b09

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-2
lines changed

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff 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`

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
},
3939
"extra": {
4040
"branch-alias": {
41-
"dev-master": "1.1.x-dev"
41+
"dev-master": "1.2.x-dev"
4242
}
4343
},
4444
"scripts": {

src/Serializers/DataValueSerializer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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 ) ) {

0 commit comments

Comments
 (0)