Skip to content

Commit 1fa8b8e

Browse files
committed
Merge pull request #578 from wmde/newFromArray
Make newFromArray return type more specific
2 parents 943c03f + 4c836c2 commit 1fa8b8e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Entity/EntityIdValue.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ public function getArrayValue() {
135135
* @param mixed $data
136136
*
137137
* @throws IllegalValueException
138-
* @return DataValue
138+
* @return self
139139
*/
140140
public static function newFromArray( $data ) {
141141
if ( !is_array( $data ) ) {

0 commit comments

Comments
 (0)