From 72dd8e7b543c81e9ea520a7ac3cd4c89612531d0 Mon Sep 17 00:00:00 2001 From: Oleksandr-Moik Date: Tue, 14 Sep 2021 14:54:10 +0300 Subject: [PATCH] fix class and facade --- composer.json | 2 +- .../2020_05_28_120300_populate_permissions_table.php | 2 +- src/Classes/PermissionRelation.php | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/composer.json b/composer.json index af8d804..9460745 100644 --- a/composer.json +++ b/composer.json @@ -3,7 +3,7 @@ "description": "control access to models using groups and permissions", "license": "MIT", "type": "library", - "version": "1.0.0", + "version": "1.0.1", "authors": [ { "name": "Oleksandr-Moik", diff --git a/database/migrations/2020_05_28_120300_populate_permissions_table.php b/database/migrations/2020_05_28_120300_populate_permissions_table.php index 7448ca9..b4d3358 100644 --- a/database/migrations/2020_05_28_120300_populate_permissions_table.php +++ b/database/migrations/2020_05_28_120300_populate_permissions_table.php @@ -1,6 +1,6 @@ table = $table; @@ -46,7 +46,7 @@ public static function touch(string $table): self * * @param array|string $permissions */ - public static function createOnly($permissions): void + public function createOnly($permissions): void { if (!is_array($permissions)) { $permissions = array($permissions);