A touch of "standards compliance" cleanup.

This commit is contained in:
Steve Ireland committed 2023-04-27 21:54:11 -04:00
1 parent ac10b61792
commit 750b2afa7a
2 files changed
+3 -2

No files matched your search

+3 -1
View File
@@ -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');
-1
View File
@@ -3,7 +3,6 @@
namespace App\Models;
use CodeIgniter\Database\ResultInterface;
use CodeIgniter\HTTP\RedirectResponse;
use CodeIgniter\Session\Session;
/**