Skip to content

Commit f0eee06

Browse files
committed
php-cs-fixer
1 parent f038db4 commit f0eee06

File tree

5 files changed

+9
-9
lines changed

5 files changed

+9
-9
lines changed

src/Adapters/Adapter.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -480,7 +480,7 @@ public function getLinkedData()
480480
foreach ($this->providers as $provider) {
481481
$data = array_merge($data, $provider->getLinkedData());
482482
}
483-
483+
484484
return $data;
485485
}
486486

src/Providers/Html.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ public function getLicense()
189189
public function getLinkedData()
190190
{
191191
$data = [];
192-
192+
193193
if (!($html = $this->request->getHtmlContent())) {
194194
return $data;
195195
}

src/Providers/OEmbed.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ public function getImagesUrls()
183183
$images[] = $this->bag->get('url');
184184
}
185185

186-
foreach ([ 'image', 'thumbnail', 'thumbnail_url' ] as $type) {
186+
foreach (['image', 'thumbnail', 'thumbnail_url'] as $type) {
187187
if ($this->bag->has($type)) {
188188
$ret = $this->bag->get($type);
189189
if (is_array($ret)) {

tests/AbancaTest.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ public function testOne()
88
'https://www.abanca.com/gl',
99
[
1010
'linkedData' => [
11-
(object)[
11+
(object) [
1212
'@context' => 'http://schema.org',
1313
'@type' => 'Organization',
1414
'name' => 'ABANCA',
@@ -21,14 +21,14 @@ public function testOne()
2121
'https://www.flickr.com/photos/125188945@N05/',
2222
],
2323
'contactPoint' => [
24-
(object)[
24+
(object) [
2525
'@type' => 'ContactPoint',
2626
'telephone' => '+34-981 910 522',
2727
'contactType' => 'customer service',
28-
]
28+
],
2929
],
30-
]
31-
]
30+
],
31+
],
3232
]
3333
);
3434
}

tests/FlickrTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ public function testSets()
1111
'imageHeight' => 680,
1212
'code' => '<a data-flickr-embed="true" href="https://www.flickr.com/photos/desescribir/sets/72157650686499888" title="Günther Förg. Verfolgen Malerei / Fundación Luís Seoane by desescribir, on Flickr"><img src="https://farm9.staticflickr.com/8572/16055522574_ce77fde14e_b.jpg" width="1024" height="680" alt="Günther Förg. Verfolgen Malerei / Fundación Luís Seoane"></a><script async src="https://embedr.flickr.com/assets/client-code.js" charset="utf-8"></script>',
1313
'type' => 'rich',
14-
'license' => 'https://creativecommons.org/licenses/by-nc-nd/2.0/'
14+
'license' => 'https://creativecommons.org/licenses/by-nc-nd/2.0/',
1515
]
1616
);
1717
}

0 commit comments

Comments
 (0)