@@ -22,7 +22,7 @@ discard block |
||
| 22 | 22 | |
| 23 | 23 | private $userId; |
| 24 | 24 | |
| 25 | - public function __construct($AppName, IRequest $request, $UserId){ |
|
| 25 | + public function __construct($AppName, IRequest $request, $UserId) { |
|
| 26 | 26 | parent::__construct($AppName, $request); |
| 27 | 27 | $this->userId = $UserId; |
| 28 | 28 | } |
@@ -39,7 +39,7 @@ discard block |
||
| 39 | 39 | */ |
| 40 | 40 | public function index() { |
| 41 | 41 | $params = ['user' => $this->userId]; |
| 42 | - $response = new TemplateResponse('passman', 'main', $params); // templates/main.php |
|
| 42 | + $response = new TemplateResponse('passman', 'main', $params); // templates/main.php |
|
| 43 | 43 | |
| 44 | 44 | $csp = new StrictContentSecurityPolicy(); |
| 45 | 45 | $csp->allowEvalScript(); |
@@ -55,7 +55,7 @@ discard block |
||
| 55 | 55 | * @NoAdminRequired |
| 56 | 56 | * @NoCSRFRequired |
| 57 | 57 | */ |
| 58 | - public function bookmarklet($url='',$title='') { |
|
| 58 | + public function bookmarklet($url = '', $title = '') { |
|
| 59 | 59 | $params = array('url' => $url, 'title' => $title); |
| 60 | 60 | return new TemplateResponse('passman', 'bookmarklet', $params); |
| 61 | 61 | } |