Skip to content

Commit

Permalink
Fixed assignRole() method
Browse files Browse the repository at this point in the history
  • Loading branch information
soumen-dey authored Jun 12, 2018
1 parent 48f2266 commit a472f2f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Traits/HasRoles.php
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ public function assignRoles(...$roles)
**/
public function assignRole(...$roles)
{
return $this->assignRole($roles);
return $this->assignRoles($roles);
}

/**
Expand Down Expand Up @@ -291,4 +291,4 @@ public function generatePivotTableName($pivotTableName)

return $pivotTableName;
}
}
}

0 comments on commit a472f2f

Please sign in to comment.