diff --git a/app/src/Application/LinkGenerator.php b/app/src/Application/LinkGenerator.php index e4ac49766..420a55de1 100644 --- a/app/src/Application/LinkGenerator.php +++ b/app/src/Application/LinkGenerator.php @@ -19,7 +19,7 @@ public function __construct( /** * Same as `Nette\Application\LinkGenerator::link()` but will always return just string, not string|null. * - * @param array $args + * @param array $args * @throws InvalidLinkException */ public function link(string $destination, array $args = [], ?NetteLinkGenerator $linkGenerator = null): string diff --git a/app/src/Application/Locale/LocaleLinkGenerator.php b/app/src/Application/Locale/LocaleLinkGenerator.php index 2c78a5b89..105599bf6 100644 --- a/app/src/Application/Locale/LocaleLinkGenerator.php +++ b/app/src/Application/Locale/LocaleLinkGenerator.php @@ -40,7 +40,7 @@ public function __construct( * Generates localized URLs. * * @param string $destination destination in format "[[[module:]presenter:]action] [#fragment]" - * @param array|array> $params of locale => [position|name => value] + * @param array|array> $params of locale => [position|name => value] * @return array of locale => URL * @throws InvalidLinkException */ @@ -70,8 +70,8 @@ public function links(string $destination, array $params = []): array /** * Return default params for all locales. * - * @param array $params - * @return array> + * @param array $params + * @return array> */ public function defaultParams(array $params): array { @@ -114,9 +114,9 @@ public function allLinks(string $destination, array $params = []): array /** - * @param array|array> $params + * @param array|array> $params * @param string $locale - * @return list|array + * @return list|array */ private function getParams(array $params, string $locale): array { diff --git a/app/src/Training/TrainingLocales.php b/app/src/Training/TrainingLocales.php index e674fe182..07965ad99 100644 --- a/app/src/Training/TrainingLocales.php +++ b/app/src/Training/TrainingLocales.php @@ -47,8 +47,8 @@ public function getLocaleActions(string $action): array /** * Translated locale parameters for trainings. * - * @param array $defaultParams - * @return array> + * @param array $defaultParams + * @return array> */ public function getLocaleLinkParams(?string $trainingAction, array $defaultParams): array { diff --git a/app/src/Www/Presenters/BasePresenter.php b/app/src/Www/Presenters/BasePresenter.php index 3e2bf61b4..c75e0ef23 100644 --- a/app/src/Www/Presenters/BasePresenter.php +++ b/app/src/Www/Presenters/BasePresenter.php @@ -122,7 +122,7 @@ protected function getLocaleLinksGeneratorDestination(): string /** - * @return array> + * @return array> */ protected function getLocaleLinksGeneratorParams(): array { @@ -153,7 +153,7 @@ protected function getLocaleLinkAction(): string /** * Default parameters for locale links. * - * @return array> + * @return array> */ protected function getLocaleLinkParams(): array { diff --git a/app/src/Www/Presenters/CompanyTrainingsPresenter.php b/app/src/Www/Presenters/CompanyTrainingsPresenter.php index b97b7fa7b..80df7422f 100644 --- a/app/src/Www/Presenters/CompanyTrainingsPresenter.php +++ b/app/src/Www/Presenters/CompanyTrainingsPresenter.php @@ -69,7 +69,7 @@ public function actionTraining(string $name): void /** * Translated locale parameters for trainings. * - * @return array> + * @return array> */ #[Override] protected function getLocaleLinkParams(): array diff --git a/app/src/Www/Presenters/ErrorPresenter.php b/app/src/Www/Presenters/ErrorPresenter.php index 1e6bcf9b7..db7b65175 100644 --- a/app/src/Www/Presenters/ErrorPresenter.php +++ b/app/src/Www/Presenters/ErrorPresenter.php @@ -111,7 +111,7 @@ protected function getLocaleLinkAction(): string /** * Get original parameters for locale links. * - * @return array> + * @return array> * @throws NoOriginalRequestException */ #[Override] diff --git a/app/src/Www/Presenters/TrainingsPresenter.php b/app/src/Www/Presenters/TrainingsPresenter.php index 67f078536..639277801 100644 --- a/app/src/Www/Presenters/TrainingsPresenter.php +++ b/app/src/Www/Presenters/TrainingsPresenter.php @@ -305,7 +305,7 @@ protected function createComponentOtherUpcomingDatesList(): UpcomingTrainingDate /** * Translated locale parameters for trainings. * - * @return array> + * @return array> */ #[Override] protected function getLocaleLinkParams(): array