Skip to content

Commit 440a46a

Browse files
committed
Merge pull request #425 from wmde/emptyProp
Drop long deprecated Property::newEmpty
2 parents 6d0dd8e + a95f1ea commit 440a46a

2 files changed

Lines changed: 1 addition & 9 deletions

File tree

RELEASE-NOTES.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ Other breaking changes:
3535
* Removed `Snaks` interface, use `SnakList` instead
3636
* Removed previously deprecated `Entity::getAllSnaks`, use `StatementList::getAllSnaks` instead
3737
* Removed previously deprecated `EntityId::getPrefixedId`, use `EntityId::getSerialization` instead
38+
* Removed previously deprecated `Property::newEmpty`, use `Property::newFromType` or `new Property()` instead
3839
* `Reference` and `ReferenceList`s no longer can not be instantiated with `null`
3940
* Added `setId` method to `EntityDocument`
4041

src/Entity/Property.php

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -176,15 +176,6 @@ public function clear() {
176176
$this->fingerprint = new Fingerprint();
177177
}
178178

179-
/**
180-
* @deprecated since 0.7.3. Use Property::newFromType
181-
*
182-
* @return Property
183-
*/
184-
public static function newEmpty() {
185-
return self::newFromType( '' );
186-
}
187-
188179
/**
189180
* @since 1.1
190181
*

0 commit comments

Comments
 (0)