]> git.mxchange.org Git - friendica.git/blobdiff - view/theme/frio/php/Image.php
spelling: image
[friendica.git] / view / theme / frio / php / Image.php
index 567fc0241acc716fac76757687da04b6266ac73a..e795e5f8ae2f1b1ac90a4f4e998d075e36cfde3c 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 /**
- * @copyright Copyright (C) 2020, Friendica
+ * @copyright Copyright (C) 2010-2023, the Friendica project
  *
  * @license GNU AGPL version 3 or any later version
  *
@@ -31,10 +31,9 @@ class Image
         * Give all available options for the background image
         *
         * @param array $arr Array with the present user settings
-        *
-        * @return array Array with the immage options
+        * @return array Array with the image options
         */
-       public static function get_options($arr)
+       public static function get_options(array $arr): array
        {
                $bg_image_options = [
                        'stretch' => ['frio_bg_image_option', DI::l10n()->t('Top Banner'), 'stretch', DI::l10n()->t('Resize image to the width of the screen and show background color below on long pages.'), ($arr['bg_image_option'] == 'stretch')],