Skip to content

Commit

Permalink
Cleaned with php-cs.
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel-KM committed Jul 21, 2019
1 parent c89afd8 commit b98c7e6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/Job/BulkTiler.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down
4 changes: 2 additions & 2 deletions src/View/Helper/IiifCollection.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit b98c7e6

Please sign in to comment.