From b98c7e6047d1e3b3fb863109ca10d1b1c8df5c5c Mon Sep 17 00:00:00 2001 From: Daniel Berthereau Date: Mon, 22 Jul 2019 00:00:00 +0200 Subject: [PATCH] Cleaned with php-cs. --- src/Job/BulkTiler.php | 2 +- src/View/Helper/IiifCollection.php | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Job/BulkTiler.php b/src/Job/BulkTiler.php index ee55ac5..c7f9795 100644 --- a/src/Job/BulkTiler.php +++ b/src/Job/BulkTiler.php @@ -9,7 +9,7 @@ class BulkTiler extends AbstractJob /** * Limit for the loop to avoid heavy sql requests. * - * @var integer + * @var int */ const SQL_LIMIT = 25; diff --git a/src/View/Helper/IiifCollection.php b/src/View/Helper/IiifCollection.php index 5b0ce81..587c735 100644 --- a/src/View/Helper/IiifCollection.php +++ b/src/View/Helper/IiifCollection.php @@ -230,8 +230,8 @@ protected function iiifMetadata(AbstractResourceEntityRepresentation $resource) ? $this->view->iiifUrl($v->valueResource()) : (string) $v; }, $propertyData['values']), 'strlen'); - $valueMetadata['value'] = count($valueValues) <= 1 ? reset($valueValues) : $valueValues; - $metadata[] = (object) $valueMetadata; + $valueMetadata['value'] = count($valueValues) <= 1 ? reset($valueValues) : $valueValues; + $metadata[] = (object) $valueMetadata; } return $metadata; }