Skip to content

Commit

Permalink
Merge pull request #342 from makss/fix_php82_deprecation_warnings
Browse files Browse the repository at this point in the history
fix php 8.2 deprecation warnings
  • Loading branch information
pxpm authored Oct 31, 2023
2 parents 2ac3544 + caef5b8 commit 3c295ef
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/app/Http/Controllers/PermissionCrudController.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@

class PermissionCrudController extends CrudController
{
protected string $role_model;
protected string $permission_model;

use \Backpack\CRUD\app\Http\Controllers\Operations\ListOperation;
use \Backpack\CRUD\app\Http\Controllers\Operations\CreateOperation;
use \Backpack\CRUD\app\Http\Controllers\Operations\UpdateOperation;
Expand Down
3 changes: 3 additions & 0 deletions src/app/Http/Controllers/RoleCrudController.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@

class RoleCrudController extends CrudController
{
protected string $role_model;
protected string $permission_model;

use \Backpack\CRUD\app\Http\Controllers\Operations\ListOperation;
use \Backpack\CRUD\app\Http\Controllers\Operations\CreateOperation;
use \Backpack\CRUD\app\Http\Controllers\Operations\UpdateOperation;
Expand Down

0 comments on commit 3c295ef

Please sign in to comment.