summaryrefslogtreecommitdiffstats
path: root/apps/theming/lib/Service/ThemeInjectionService.php
diff options
context:
space:
mode:
authorCôme Chilliet <come.chilliet@nextcloud.com>2024-03-28 16:13:19 +0100
committerCôme Chilliet <91878298+come-nc@users.noreply.github.com>2024-04-04 11:45:22 +0200
commit0b332ceac24ee93e82e25ee95841ae6fae3b889b (patch)
tree5c33219f115c05a17cec25e2122ff1cae352e86f /apps/theming/lib/Service/ThemeInjectionService.php
parent292b903bc283c5a7929e092d8262331606461ef7 (diff)
downloadnextcloud-server-0b332ceac24ee93e82e25ee95841ae6fae3b889b.tar.gz
nextcloud-server-0b332ceac24ee93e82e25ee95841ae6fae3b889b.zip
fix: Apply new coding standard to all files
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Diffstat (limited to 'apps/theming/lib/Service/ThemeInjectionService.php')
-rw-r--r--apps/theming/lib/Service/ThemeInjectionService.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/theming/lib/Service/ThemeInjectionService.php b/apps/theming/lib/Service/ThemeInjectionService.php
index 169bc0c0223..c6ef6b9614d 100644
--- a/apps/theming/lib/Service/ThemeInjectionService.php
+++ b/apps/theming/lib/Service/ThemeInjectionService.php
@@ -93,7 +93,7 @@ class ThemeInjectionService {
* @param bool $plain request the :root syntax
* @param string $media media query to use in the <link> element
*/
- private function addThemeHeaders(ITheme $theme, bool $plain = true, string $media = null): void {
+ private function addThemeHeaders(ITheme $theme, bool $plain = true, ?string $media = null): void {
$linkToCSS = $this->urlGenerator->linkToRoute('theming.Theming.getThemeStylesheet', [
'themeId' => $theme->getId(),
'plain' => $plain,