@@ -164,7 +164,7 @@ discard block |
||
164 | 164 | |
165 | 165 | /** |
166 | 166 | * Enables the app as a theme if it has the type "theme" |
167 | - * @param $app |
|
167 | + * @param string $app |
|
168 | 168 | */ |
169 | 169 | private static function enableTheme($app) { |
170 | 170 | if (self::isType($app, 'theme')) { |
@@ -1365,8 +1365,8 @@ discard block |
||
1365 | 1365 | } |
1366 | 1366 | |
1367 | 1367 | /** |
1368 | - * @param $config |
|
1369 | - * @param $l |
|
1368 | + * @param OCP\IConfig $config |
|
1369 | + * @param OCP\IL10N $l |
|
1370 | 1370 | * @param $info |
1371 | 1371 | * @throws Exception |
1372 | 1372 | */ |
@@ -57,7 +57,7 @@ discard block |
||
57 | 57 | * @NoAdminRequired |
58 | 58 | * @NoCSRFRequired |
59 | 59 | * @param string $sectionID |
60 | - * @return \OCP\TemplateResponse |
|
60 | + * @return TemplateResponse |
|
61 | 61 | */ |
62 | 62 | public function getPersonal($sectionID) { |
63 | 63 | $this->currentSectionID = $sectionID; |
@@ -68,7 +68,7 @@ discard block |
||
68 | 68 | * Creates the admin settings page |
69 | 69 | * @NoCSRFRequired |
70 | 70 | * @param string $sectionID |
71 | - * @return \OCP\TemplateResponse |
|
71 | + * @return TemplateResponse |
|
72 | 72 | */ |
73 | 73 | public function getAdmin($sectionID) { |
74 | 74 | $this->currentSectionID = $sectionID; |
@@ -78,7 +78,7 @@ discard block |
||
78 | 78 | /** |
79 | 79 | * Generates a settings page given the type (personal/admin) |
80 | 80 | * @param string $type |
81 | - * @return \OCP\TemplateResponse |
|
81 | + * @return TemplateResponse |
|
82 | 82 | */ |
83 | 83 | protected function createSettingsPage($type) { |
84 | 84 | // Load sections and panels |
@@ -136,6 +136,9 @@ |
||
136 | 136 | return false; |
137 | 137 | } |
138 | 138 | |
139 | + /** |
|
140 | + * @param string $cardData |
|
141 | + */ |
|
139 | 142 | private function readCard($cardData) { |
140 | 143 | return Reader::read($cardData); |
141 | 144 | } |