jenkins-bot has submitted this change and it was merged. (
https://gerrit.wikimedia.org/r/405575 )
Change subject: Remove local variables from PHP doc @return annotations
......................................................................
Remove local variables from PHP doc @return annotations
These don't mean or provide anything since they're local,
so just remove these.
Change-Id: Iaf689ea49179fe54bf4e25f35583a7b70ebf7869
---
M UserBoard/UserBoardClass.php
M UserProfile/SpecialEditProfile.php
M UserProfile/SpecialUpdateProfile.php
M UserRelationship/SpecialAddRelationship.php
M UserRelationship/SpecialRemoveRelationship.php
5 files changed, 5 insertions(+), 5 deletions(-)
Approvals:
Umherirrender: Looks good to me, approved
jenkins-bot: Verified
diff --git a/UserBoard/UserBoardClass.php b/UserBoard/UserBoardClass.php
index 8c0044c..c7dc776 100644
--- a/UserBoard/UserBoardClass.php
+++ b/UserBoard/UserBoardClass.php
@@ -527,7 +527,7 @@
* Gets the time how long ago the given board message was posted
*
* @param int $time
- * @return string $timeStr Time, such as "20 days" or "11 hours"
+ * @return string Time, such as "20 days" or "11 hours"
*/
public function getTimeAgo( $time ) {
$timeArray = $this->dateDiff( time(), $time );
diff --git a/UserProfile/SpecialEditProfile.php
b/UserProfile/SpecialEditProfile.php
index a10e7bc..6b3f6be 100644
--- a/UserProfile/SpecialEditProfile.php
+++ b/UserProfile/SpecialEditProfile.php
@@ -436,7 +436,7 @@
/**
* Displays the form for editing custom (site-specific) information
*
- * @return string $form HTML
+ * @return string HTML
*/
function displayCustomForm( $tar ) {
$dbr = wfGetDB( DB_REPLICA );
diff --git a/UserProfile/SpecialUpdateProfile.php
b/UserProfile/SpecialUpdateProfile.php
index 57dad49..c7d5eda 100644
--- a/UserProfile/SpecialUpdateProfile.php
+++ b/UserProfile/SpecialUpdateProfile.php
@@ -820,7 +820,7 @@
* Displays the form for editing custom (site-specific) information.
*
* @param User $user
- * @return string $form HTML
+ * @return string HTML
*/
function displayCustomForm( $user ) {
$dbr = wfGetDB( DB_MASTER );
diff --git a/UserRelationship/SpecialAddRelationship.php
b/UserRelationship/SpecialAddRelationship.php
index 740b9f0..eb9e8c0 100644
--- a/UserRelationship/SpecialAddRelationship.php
+++ b/UserRelationship/SpecialAddRelationship.php
@@ -245,7 +245,7 @@
/**
* Displays the form for adding a friend or a foe
*
- * @return string $form HTML
+ * @return string HTML
*/
function displayForm() {
$out = $this->getOutput();
diff --git a/UserRelationship/SpecialRemoveRelationship.php
b/UserRelationship/SpecialRemoveRelationship.php
index 353156b..b18275b 100644
--- a/UserRelationship/SpecialRemoveRelationship.php
+++ b/UserRelationship/SpecialRemoveRelationship.php
@@ -170,7 +170,7 @@
/**
* Displays the form for removing a friend or a foe
*
- * @return string $form HTML code for the form
+ * @return string HTML code for the form
*/
function displayForm() {
$avatar = new wAvatar( $this->user_id_to, 'l' );
--
To view, visit https://gerrit.wikimedia.org/r/405575
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: Iaf689ea49179fe54bf4e25f35583a7b70ebf7869
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/SocialProfile
Gerrit-Branch: master
Gerrit-Owner: SamanthaNguyen <[email protected]>
Gerrit-Reviewer: Lewis Cawte <[email protected]>
Gerrit-Reviewer: Umherirrender <[email protected]>
Gerrit-Reviewer: jenkins-bot <>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits