Skip to content

Commit c1f8f7d

Browse files
author
Ricardo Fiorani
committed
coding style fixes
1 parent fb5a21a commit c1f8f7d

File tree

2 files changed

+11
-2
lines changed

2 files changed

+11
-2
lines changed

src/Adapter/AbstractServiceAdapter.php

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,11 @@ public function getEmbedCode($width, $height, $forceAutoplay = false, $forceSecu
127127
throw new NotEmbeddableException();
128128
}
129129

130-
return $this->getRenderer()->renderVideoEmbedCode($this->getEmbedUrl($forceAutoplay, $forceSecure), $width, $height);
130+
return $this->getRenderer()->renderVideoEmbedCode(
131+
$this->getEmbedUrl($forceAutoplay, $forceSecure),
132+
$width,
133+
$height
134+
);
131135
}
132136

133137
/**

src/Adapter/Vimeo/VimeoServiceAdapter.php

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,12 @@ public function getThumbnail($size, $forceSecure = false)
131131
throw new InvalidThumbnailSizeException();
132132
}
133133

134-
return $this->getScheme($forceSecure) . '://' . $this->thumbnails[$size]['host'] . $this->thumbnails[$size]['path'];
134+
return sprintf(
135+
'%s://%s%s',
136+
$this->getScheme($forceSecure),
137+
$this->thumbnails[$size]['host'],
138+
$this->thumbnails[$size]['path']
139+
);
135140
}
136141

137142
/**

0 commit comments

Comments
 (0)