Skip to content

Commit

Permalink
Apply fixes from StyleCI
Browse files Browse the repository at this point in the history
  • Loading branch information
vyuldashev authored and StyleCIBot committed Aug 29, 2018
1 parent c9eb354 commit 7dcbb35
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Permission.php
Original file line number Diff line number Diff line change
Expand Up @@ -71,11 +71,11 @@ public function fields(Request $request)

Text::make(__('nova-permission-tool::permissions.name'), 'name')
->rules(['required', 'string', 'max:255'])
->creationRules('unique:' . config('permission.table_names.permissions'))
->updateRules('unique:' . config('permission.table_names.permissions') . ',name,{{resourceId}}'),
->creationRules('unique:'.config('permission.table_names.permissions'))
->updateRules('unique:'.config('permission.table_names.permissions').',name,{{resourceId}}'),

Text::make(__('nova-permission-tool::permissions.display_name'), function () {
return __('nova-permission-tool::permissions.display_names.' . $this->name);
return __('nova-permission-tool::permissions.display_names.'.$this->name);
})->canSee(function () {
return is_array(__('nova-permission-tool::permissions.display_names'));
}),
Expand Down

0 comments on commit 7dcbb35

Please sign in to comment.