diff --git a/src/Config.php b/src/Config.php index a5bebc045..e0ad31000 100644 --- a/src/Config.php +++ b/src/Config.php @@ -386,10 +386,8 @@ public function getCacheAssetsRemotePath(): string * Returns the property value of an output format. * * @throws RuntimeException - * - * @return string|array|null */ - public function getOutputFormatProperty(string $name, string $property) + public function getOutputFormatProperty(string $name, string $property): string|array|null { $properties = array_column((array) $this->get('output.formats'), $property, 'name'); diff --git a/src/Renderer/Site.php b/src/Renderer/Site.php index 5bcdad468..2d760b7c3 100644 --- a/src/Renderer/Site.php +++ b/src/Renderer/Site.php @@ -174,7 +174,7 @@ public function getPagesIntl(): \Cecil\Collection\Page\Collection } /** - * Return current time. + * Returns current time. */ public function getTime(): int {