jenkins-bot has submitted this change and it was merged.

Change subject: Cleanup and remove unused use in EntitySerializer
......................................................................


Cleanup and remove unused use in EntitySerializer

Change-Id: I670a5b3ecb2791867647749db4726a9bc7374944
---
M lib/includes/serializers/EntitySerializer.php
1 file changed, 1 insertion(+), 19 deletions(-)

Approvals:
  Tobias Gritschacher: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/lib/includes/serializers/EntitySerializer.php 
b/lib/includes/serializers/EntitySerializer.php
index a10d36b..e2c4f9e 100644
--- a/lib/includes/serializers/EntitySerializer.php
+++ b/lib/includes/serializers/EntitySerializer.php
@@ -9,25 +9,7 @@
 /**
  * Serializer for entities.
  *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License along
- * with this program; if not, write to the Free Software Foundation, Inc.,
- * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
- * http://www.gnu.org/copyleft/gpl.html
- *
  * @since 0.2
- *
- * @file
- * @ingroup WikibaseLib
  *
  * @licence GNU GPL v2+
  * @author Jeroen De Dauw < jeroended...@gmail.com >
@@ -66,7 +48,7 @@
         * @return array
         * @throws MWException
         */
-       public final function getSerialized( $entity ) {
+       final public function getSerialized( $entity ) {
                if ( !( $entity instanceof Entity ) ) {
                        throw new MWException( 'EntitySerializer can only 
serialize Entity objects' );
                }

-- 
To view, visit https://gerrit.wikimedia.org/r/88133
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I670a5b3ecb2791867647749db4726a9bc7374944
Gerrit-PatchSet: 2
Gerrit-Project: mediawiki/extensions/Wikibase
Gerrit-Branch: master
Gerrit-Owner: Aude <aude.w...@gmail.com>
Gerrit-Reviewer: Tobias Gritschacher <tobias.gritschac...@wikimedia.de>
Gerrit-Reviewer: jenkins-bot

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to