Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/Illuminate/Database/Eloquent/Relations/BelongsToMany.php
Original file line number Diff line number Diff line change
Expand Up @@ -578,7 +578,7 @@ protected function attachNew(array $records, array $current, $touch = true)
* @param bool $touch
* @return void
*/
protected function updateExistingPivot($id, array $attributes, $touch)
public function updateExistingPivot($id, array $attributes, $touch)
{
if (in_array($this->updatedAt(), $this->pivotColumns))
{
Expand Down Expand Up @@ -808,7 +808,7 @@ public function newPivotStatement()
* @param mixed $id
* @return \Illuminate\Database\Query\Builder
*/
protected function newPivotStatementForId($id)
public function newPivotStatementForId($id)
{
$pivot = $this->newPivotStatement();

Expand Down Expand Up @@ -927,4 +927,4 @@ public function getTable()
return $this->table;
}

}
}