Skip to content

Commit 4c836c2

Browse files
committed
Make newFromArray return type more specific
1 parent cd6acad commit 4c836c2

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)