Skip to content

Commit

Permalink
Update: Make some functions public on youtube service
Browse files Browse the repository at this point in the history
  • Loading branch information
jonnitto committed Mar 17, 2023
1 parent d91743b commit 87d1869
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Classes/Service/YoutubeService.php
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ public function getAndSaveDataFromApi(NodeInterface $node, bool $remove = false)
* @param string $url
* @return string The type of the link
*/
protected function type(string $url): string
public function type(string $url): string
{
$url = trim($url);
if (!$url) {
Expand All @@ -196,7 +196,7 @@ protected function type(string $url): string
* @param string|null $url
* @return array|null
*/
protected function getBestPossibleYoutubeImage(
public function getBestPossibleYoutubeImage(
$videoID,
?string $url = null
): ?array {
Expand Down

0 comments on commit 87d1869

Please sign in to comment.