@@ -260,6 +260,9 @@ discard block |
||
260 | 260 | return _("Sorry, this should not happen - no additional information is available"); |
261 | 261 | } |
262 | 262 | |
263 | + /** |
|
264 | + * @param string $file |
|
265 | + */ |
|
263 | 266 | private function findSourceFile($file) { |
264 | 267 | if (is_file($this->module_path . '/Files/' . $this->device_id . '/' . $file)) { |
265 | 268 | return $this->module_path . '/Files/' . $this->device_id . '/' . $file; |
@@ -540,6 +543,9 @@ discard block |
||
540 | 543 | 'application/pdf' => 'pdf', |
541 | 544 | ]; |
542 | 545 | |
546 | + /** |
|
547 | + * @param string $type |
|
548 | + */ |
|
543 | 549 | private function saveLogoFile($logos,$type) { |
544 | 550 | $iterator = 0; |
545 | 551 | $returnarray = []; |
@@ -138,6 +138,9 @@ |
||
138 | 138 | return($out); |
139 | 139 | } |
140 | 140 | |
141 | + /** |
|
142 | + * @param integer $maxSize |
|
143 | + */ |
|
141 | 144 | private function scaleLogo($imagePath, $maxSize) { |
142 | 145 | $imageObject = new \Imagick($imagePath); |
143 | 146 | $imageSize = $imageObject->getImageGeometry(); |