| @@ -59,9 +59,9 @@ | ||
| 59 | 59 | |
| 60 | 60 | return $this->applyFilters($content); |
| 61 | 61 | } |
| 62 | 62 | |
| 63 | - private function getPermalinkFileContent(?string $objectType, ?bool $isSubSite): string | |
| 63 | + private function getPermalinkFileContent(?string $objectType, ?bool $isSubSite = false): string | |
| 64 | 64 | { |
| 65 | 65 | if ($objectType === null) { |
| 66 | 66 | $objectType = ObjectHandler::ATTACHMENT_OBJECT_TYPE; |
| 67 | 67 | } |
| @@ -91,9 +91,9 @@ | ||
| 91 | 91 | |
| 92 | 92 | return "<IfModule mod_rewrite.c>\n$content</IfModule>\n"; |
| 93 | 93 | } |
| 94 | 94 | |
| 95 | - public function getFileNameWithPath(?string $directory = null): string | |
| 95 | + public function getFileNameWithPath(string $directory = null): string | |
| 96 | 96 | { |
| 97 | 97 | return $directory . self::FILE_NAME; |
| 98 | 98 | } |
| 99 | 99 | |