Skip to content

Commit a95f1ea

Browse files
committed
Drop long deprecated Property::newEmpty
1 parent f15ef93 commit a95f1ea

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
@@ -34,6 +34,7 @@ Other breaking changes:
3434

3535
* Removed previously deprecated `Entity::getAllSnaks`, use `StatementList::getAllSnaks` instead
3636
* Removed previously deprecated `EntityId::getPrefixedId`, use `EntityId::getSerialization` instead
37+
* Removed previously deprecated `Property::newEmpty`, use `Property::newFromType` or `new Property()` instead
3738
* `Reference` and `ReferenceList`s no longer can not be instantiated with `null`
3839
* Added `setId` method to `EntityDocument`
3940

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)