@@ -138,6 +138,7 @@ discard block |
||
138 | 138 | * |
139 | 139 | * @param string $device |
140 | 140 | * @param AbstractProfile $profile |
141 | + * @param string $generatedFor |
|
141 | 142 | * @return array info about the new installer (mime and link) |
142 | 143 | */ |
143 | 144 | private function generateNewInstaller($device, $profile, $generatedFor, $token, $password) { |
@@ -354,9 +355,9 @@ discard block |
||
354 | 355 | * |
355 | 356 | * When called for DiscoJuice, first check if file cache exists |
356 | 357 | * If not then generate the file and save it in the cache |
357 | - * @param int $idp IdP identifier |
|
358 | 358 | * @param int $width maximum width of the generated image - if 0 then it is treated as no upper bound |
359 | 359 | * @param int $height maximum height of the generated image - if 0 then it is treated as no upper bound |
360 | + * @param string $type |
|
360 | 361 | * @return array|null array with image information or NULL if there is no logo |
361 | 362 | */ |
362 | 363 | protected function getLogo($identifier, $type, $width = 0, $height = 0) { |
@@ -520,6 +521,7 @@ discard block |
||
520 | 521 | /** |
521 | 522 | * Order active identity providers according to their distance and name |
522 | 523 | * @param array $currentLocation - current location |
524 | + * @param string $country |
|
523 | 525 | * @return array $IdPs - list of arrays ('id', 'name'); |
524 | 526 | */ |
525 | 527 | public function orderIdentityProviders($country, $currentLocation = NULL) { |