change helper name

This commit is contained in:
vedatakd 2020-10-14 19:28:22 +03:00
parent 1d3fbda7f5
commit fac01c5ca3
2 changed files with 3 additions and 3 deletions

View File

@ -2,7 +2,7 @@
use Anomaly\UsersModule\Role\Contract\RoleRepositoryInterface;
class getAdmins
class getAdminUsers
{
public function handle()
{

View File

@ -1,10 +1,10 @@
<?php
use Visiosoft\ProfileModule\Support\Command\getAdmins;
use Visiosoft\ProfileModule\Support\Command\getAdminUsers;
if (!function_exists('get_admins'))
{
function getAdmins() {
return dispatch_now(new getAdmins());
return dispatch_now(new getAdminUsers());
}
}