mirror of
https://github.com/opensourcepos/opensourcepos.git
synced 2026-05-13 18:23:57 -04:00
chore: sync project files to match upstream templates (#4537)
- updated some files to match the official CodeIgniter 4 skeleton. - rebuilt package.json from a clean init and modernized metadata and formatting - rebuilt composer.json with modernized metadata and formatting - replaced code of conduct text with markdown - updated Dockerfile to replace deprecated instruction
This commit is contained in:
@@ -28,12 +28,9 @@ abstract class BaseController extends Controller
|
||||
// protected $session;
|
||||
|
||||
/**
|
||||
* @param RequestInterface $request
|
||||
* @param ResponseInterface $response
|
||||
* @param LoggerInterface $logger
|
||||
* @return void
|
||||
*/
|
||||
public function initController(RequestInterface $request, ResponseInterface $response, LoggerInterface $logger): void
|
||||
public function initController(RequestInterface $request, ResponseInterface $response, LoggerInterface $logger)
|
||||
{
|
||||
// Load here all helpers you want to be available in your controllers that extend BaseController.
|
||||
// Caution: Do not put the this below the parent::initController() call below.
|
||||
|
||||
Reference in New Issue
Block a user