From a472f2f24371a68894a8f5b08a006cceca4c6514 Mon Sep 17 00:00:00 2001 From: Soumen Date: Tue, 12 Jun 2018 13:47:30 +0530 Subject: [PATCH] Fixed assignRole() method --- src/Traits/HasRoles.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Traits/HasRoles.php b/src/Traits/HasRoles.php index ae20d91..270b403 100644 --- a/src/Traits/HasRoles.php +++ b/src/Traits/HasRoles.php @@ -86,7 +86,7 @@ public function assignRoles(...$roles) **/ public function assignRole(...$roles) { - return $this->assignRole($roles); + return $this->assignRoles($roles); } /** @@ -291,4 +291,4 @@ public function generatePivotTableName($pivotTableName) return $pivotTableName; } -} \ No newline at end of file +}