change helper name (#719)

Co-authored-by: vedatakd <vedat@vebze.com>
This commit is contained in:
spektra2147 2020-10-14 19:54:34 +03:00 committed by GitHub
parent 20f10a0eeb
commit ec473b51bc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

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

View File

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