Adapt BaseURL calls to new UriInterface
This commit is contained in:
@@ -90,7 +90,7 @@ class Photo extends BaseFactory
|
||||
}
|
||||
|
||||
foreach ($photos as $id => $photo) {
|
||||
$link = $this->baseUrl->get() . '/photo/' . $data['resource-id'] . '-' . $photo['scale'] . Images::getExtensionByMimeType($data['type']);
|
||||
$link = $this->baseUrl . '/photo/' . $data['resource-id'] . '-' . $photo['scale'] . Images::getExtensionByMimeType($data['type']);
|
||||
if ($type == 'xml') {
|
||||
$data['links'][$photo['scale'] . ':link']['@attributes'] = [
|
||||
'type' => $data['type'],
|
||||
|
||||
Reference in New Issue
Block a user