Skip to content

Commit fa11eb1

Browse files
authored
Merge pull request #4031 from mostafakhudair/patch-1
Add Params to constructor dockblock
2 parents 5a29fcd + b4eafdc commit fa11eb1

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

app/Controllers/BaseController.php

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,10 @@ class BaseController extends Controller
3131

3232
/**
3333
* Constructor.
34+
*
35+
* @param RequestInterface $request
36+
* @param ResponseInterface $response
37+
* @param LoggerInterface $logger
3438
*/
3539
public function initController(RequestInterface $request, ResponseInterface $response, LoggerInterface $logger)
3640
{
@@ -40,7 +44,6 @@ public function initController(RequestInterface $request, ResponseInterface $res
4044
//--------------------------------------------------------------------
4145
// Preload any models, libraries, etc, here.
4246
//--------------------------------------------------------------------
43-
// E.g.:
44-
// $this->session = \Config\Services::session();
47+
// E.g.: $this->session = \Config\Services::session();
4548
}
4649
}

0 commit comments

Comments
 (0)