Skip to content

Commit

Permalink
fix psalm acl access
Browse files Browse the repository at this point in the history
  • Loading branch information
jturbide committed Nov 2, 2024
1 parent a95cfdd commit 2caa9c0
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/Modules/Cli/Tasks/Traits/UserTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
namespace Zemit\Modules\Cli\Tasks\Traits;

use Phalcon\Db\Column;
use Phalcon\Mvc\Model\Resultset;
use Zemit\Models\Role;
use Zemit\Models\User;
use Zemit\Models\UserRole;
Expand Down Expand Up @@ -188,6 +187,6 @@ public function addModelsPermissions(?array $tables = null): void
],
]);

$this->acl->setOption('permissions', $this->config->pathToArray('permissions') ?? []);
$this->acl?->setOption('permissions', $this->config->pathToArray('permissions') ?? []);
}
}

0 comments on commit 2caa9c0

Please sign in to comment.