From 43d40764b09cacf40113695ed41d6d0039763c02 Mon Sep 17 00:00:00 2001 From: Daniel Berthereau Date: Mon, 5 Nov 2018 00:00:00 +0100 Subject: [PATCH] Reordered some doc blocks. --- application/src/Api/Representation/ValueRepresentation.php | 2 +- .../src/Installation/Task/InstallDefaultTemplatesTask.php | 2 +- application/src/Job/Dispatcher.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/application/src/Api/Representation/ValueRepresentation.php b/application/src/Api/Representation/ValueRepresentation.php index cda22d5afb..5d915f24f0 100644 --- a/application/src/Api/Representation/ValueRepresentation.php +++ b/application/src/Api/Representation/ValueRepresentation.php @@ -147,7 +147,7 @@ public function uri() * * This is the object of the RDF triple represented by this value. * - * @return null|AbstractResourceEntityRepresentation + * @return AbstractResourceEntityRepresentation|null */ public function valueResource() { diff --git a/application/src/Installation/Task/InstallDefaultTemplatesTask.php b/application/src/Installation/Task/InstallDefaultTemplatesTask.php index 193674e9df..76c75650b8 100644 --- a/application/src/Installation/Task/InstallDefaultTemplatesTask.php +++ b/application/src/Installation/Task/InstallDefaultTemplatesTask.php @@ -74,7 +74,7 @@ public function perform(Installer $installer) * Install a default resource template. * * @param string $label A label of a template defined in this class - * @return null|false Returns false if the label does not exist + * @return false|null Returns false if the label does not exist */ public function installTemplate($label) { diff --git a/application/src/Job/Dispatcher.php b/application/src/Job/Dispatcher.php index 1f8d442205..cfabd07aab 100644 --- a/application/src/Job/Dispatcher.php +++ b/application/src/Job/Dispatcher.php @@ -65,7 +65,7 @@ public function getDispatchStrategy() * @param string $class * @param mixed $args * @param StrategyInterface $strategy - * @return null|Job $job + * @return Job|null $job */ public function dispatch($class, $args = null, StrategyInterface $strategy = null) {