From a95f1eaee9fc913a6bc6707ad9d7d33fb6b57277 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thiemo=20M=C3=A4ttig?= Date: Thu, 2 Apr 2015 10:38:20 +0200 Subject: [PATCH] Drop long deprecated Property::newEmpty --- RELEASE-NOTES.md | 1 + src/Entity/Property.php | 9 --------- 2 files changed, 1 insertion(+), 9 deletions(-) diff --git a/RELEASE-NOTES.md b/RELEASE-NOTES.md index b9b9b6b4..e4547268 100644 --- a/RELEASE-NOTES.md +++ b/RELEASE-NOTES.md @@ -34,6 +34,7 @@ Other breaking changes: * Removed previously deprecated `Entity::getAllSnaks`, use `StatementList::getAllSnaks` instead * Removed previously deprecated `EntityId::getPrefixedId`, use `EntityId::getSerialization` instead +* Removed previously deprecated `Property::newEmpty`, use `Property::newFromType` or `new Property()` instead * `Reference` and `ReferenceList`s no longer can not be instantiated with `null` * Added `setId` method to `EntityDocument` diff --git a/src/Entity/Property.php b/src/Entity/Property.php index 514d24ca..589db7b2 100644 --- a/src/Entity/Property.php +++ b/src/Entity/Property.php @@ -176,15 +176,6 @@ public function clear() { $this->fingerprint = new Fingerprint(); } - /** - * @deprecated since 0.7.3. Use Property::newFromType - * - * @return Property - */ - public static function newEmpty() { - return self::newFromType( '' ); - } - /** * @since 1.1 *