Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 2499f4c

Browse files
committed
Fix PHPDoc Block For BelongsToMany Relation withPivot Method
fix @param array -> @param mixed
1 parent c76db1b commit 2499f4c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Illuminate/Database/Eloquent/Relations/BelongsToMany.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -941,7 +941,7 @@ public function newExistingPivot(array $attributes = array())
941941
/**
942942
* Set the columns on the pivot table to retrieve.
943943
*
944-
* @param array $columns
944+
* @param mixed $columns
945945
* @return $this
946946
*/
947947
public function withPivot($columns)

0 commit comments

Comments
 (0)