Skip to content

Commit

Permalink
Fix return docblocks in BelongsToMany (#25314)
Browse files Browse the repository at this point in the history
  • Loading branch information
sebdesign authored and taylorotwell committed Aug 24, 2018
1 parent 947a4f8 commit 4c0f7ab
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions src/Illuminate/Database/Eloquent/Relations/BelongsToMany.php
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,7 @@ public function getPivotClass()
* Specify the custom pivot model to use for the relationship.
*
* @param string $class
* @return \Illuminate\Database\Eloquent\Relations\BelongsToMany
* @return $this
*/
public function using($class)
{
Expand All @@ -301,7 +301,7 @@ public function using($class)
* Specify the custom pivot accessor to use for the relationship.
*
* @param string $accessor
* @return \Illuminate\Database\Eloquent\Relations\BelongsToMany
* @return $this
*/
public function as($accessor)
{
Expand All @@ -317,7 +317,7 @@ public function as($accessor)
* @param string $operator
* @param mixed $value
* @param string $boolean
* @return \Illuminate\Database\Eloquent\Relations\BelongsToMany
* @return $this
*/
public function wherePivot($column, $operator = null, $value = null, $boolean = 'and')
{
Expand All @@ -333,7 +333,7 @@ public function wherePivot($column, $operator = null, $value = null, $boolean =
* @param mixed $values
* @param string $boolean
* @param bool $not
* @return \Illuminate\Database\Eloquent\Relations\BelongsToMany
* @return $this
*/
public function wherePivotIn($column, $values, $boolean = 'and', $not = false)
{
Expand All @@ -348,7 +348,7 @@ public function wherePivotIn($column, $values, $boolean = 'and', $not = false)
* @param string $column
* @param string $operator
* @param mixed $value
* @return \Illuminate\Database\Eloquent\Relations\BelongsToMany
* @return $this
*/
public function orWherePivot($column, $operator = null, $value = null)
{
Expand All @@ -362,7 +362,7 @@ public function orWherePivot($column, $operator = null, $value = null)
*
* @param string $column
* @param mixed $value
* @return \Illuminate\Database\Eloquent\Relations\BelongsToMany
* @return $this
*/
public function withPivotValue($column, $value = null)
{
Expand All @@ -388,7 +388,7 @@ public function withPivotValue($column, $value = null)
*
* @param string $column
* @param mixed $values
* @return \Illuminate\Database\Eloquent\Relations\BelongsToMany
* @return $this
*/
public function orWherePivotIn($column, $values)
{
Expand Down Expand Up @@ -592,7 +592,7 @@ public function get($columns = ['*'])
* Get the select columns for the relation query.
*
* @param array $columns
* @return \Illuminate\Database\Eloquent\Relations\BelongsToMany
* @return array
*/
protected function shouldSelect(array $columns = ['*'])
{
Expand Down Expand Up @@ -926,7 +926,7 @@ public function getRelationCountHash()
*
* @param mixed $createdAt
* @param mixed $updatedAt
* @return \Illuminate\Database\Eloquent\Relations\BelongsToMany
* @return $this
*/
public function withTimestamps($createdAt = null, $updatedAt = null)
{
Expand Down

0 comments on commit 4c0f7ab

Please sign in to comment.