Skip to content

Commit

Permalink
Merge pull request #80 from stephane-monnot/patch-1
Browse files Browse the repository at this point in the history
Improve PHPdoc / IDE autocomplete
  • Loading branch information
hootlex authored Apr 8, 2017
2 parents cba8d8e + 260f012 commit 8c21663
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/Traits/Friendable.php
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ public function getFriendship(Model $recipient)
}

/**
* @return \Illuminate\Database\Eloquent\Collection
* @return \Illuminate\Database\Eloquent\Collection|Friendship[]
*
* @param string $groupSlug
*
Expand All @@ -222,7 +222,7 @@ public function getAllFriendships($groupSlug = '')
}

/**
* @return \Illuminate\Database\Eloquent\Collection
* @return \Illuminate\Database\Eloquent\Collection|Friendship[]
*
* @param string $groupSlug
*
Expand All @@ -233,7 +233,7 @@ public function getPendingFriendships($groupSlug = '')
}

/**
* @return \Illuminate\Database\Eloquent\Collection
* @return \Illuminate\Database\Eloquent\Collection|Friendship[]
*
* @param string $groupSlug
*
Expand All @@ -244,7 +244,7 @@ public function getAcceptedFriendships($groupSlug = '')
}

/**
* @return \Illuminate\Database\Eloquent\Collection
* @return \Illuminate\Database\Eloquent\Collection|Friendship[]
*
*/
public function getDeniedFriendships()
Expand All @@ -253,7 +253,7 @@ public function getDeniedFriendships()
}

/**
* @return \Illuminate\Database\Eloquent\Collection
* @return \Illuminate\Database\Eloquent\Collection|Friendship[]
*
*/
public function getBlockedFriendships()
Expand Down Expand Up @@ -282,7 +282,7 @@ public function isBlockedBy(Model $recipient)
}

/**
* @return \Illuminate\Database\Eloquent\Collection
* @return \Illuminate\Database\Eloquent\Collection|Friendship[]
*/
public function getFriendRequests()
{
Expand Down

0 comments on commit 8c21663

Please sign in to comment.