mirror of
https://github.com/opensourcepos/opensourcepos.git
synced 2026-10-23 16:48:35 -04:00
A touch of "standards compliance" cleanup.
This commit is contained in:
1 parent
ac10b61792
commit
750b2afa7a
2 files changed
+3
-2
No files matched your search
@@ -2,6 +2,8 @@
|
||||
|
||||
namespace App\Controllers;
|
||||
|
||||
use CodeIgniter\HTTP\RedirectResponse;
|
||||
|
||||
class Home extends Secure_Controller
|
||||
{
|
||||
public function __construct()
|
||||
@@ -15,7 +17,7 @@ class Home extends Secure_Controller
|
||||
echo view('home/home');
|
||||
}
|
||||
|
||||
public function getLogout(): \CodeIgniter\HTTP\RedirectResponse
|
||||
public function getLogout(): RedirectResponse
|
||||
{
|
||||
$this->employee->logout();
|
||||
return redirect()->to('login');
|
||||
|
||||
@@ -3,7 +3,6 @@
|
||||
namespace App\Models;
|
||||
|
||||
use CodeIgniter\Database\ResultInterface;
|
||||
use CodeIgniter\HTTP\RedirectResponse;
|
||||
use CodeIgniter\Session\Session;
|
||||
|
||||
/**
|
||||
|
||||
Reference in new issue
Block a user