Skip to content

Commit b6e7148

Browse files
committed
API Change, provide support to urls in getendpoint
1 parent f6e29a4 commit b6e7148

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

src/Providers/OEmbed/Flickr.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ class Flickr extends OEmbedImplementation
99
/**
1010
* {@inheritdoc}
1111
*/
12-
public static function getEndPoint()
12+
public static function getEndPoint(Url $url)
1313
{
1414
return 'http://flickr.com/services/oembed';
1515
}

src/Providers/OEmbed/Imgur.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ class Imgur extends OEmbedImplementation
99
/**
1010
* {@inheritdoc}
1111
*/
12-
public static function getEndPoint()
12+
public static function getEndPoint(Url $url)
1313
{
1414
return 'http://api.imgur.com/oembed';
1515
}

src/Providers/OEmbed/Instagram.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ class Instagram extends OEmbedImplementation
99
/**
1010
* {@inheritdoc}
1111
*/
12-
public static function getEndPoint()
12+
public static function getEndPoint(Url $url)
1313
{
1414
return 'http://api.instagram.com/oembed';
1515
}

src/Providers/OEmbed/Kickstarter.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ class Kickstarter extends OEmbedImplementation
99
/**
1010
* {@inheritdoc}
1111
*/
12-
public static function getEndPoint()
12+
public static function getEndPoint(Url $url)
1313
{
1414
return 'http://www.kickstarter.com/services/oembed';
1515
}

src/Providers/OEmbed/Meetup.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ class Meetup extends OEmbedImplementation
99
/**
1010
* {@inheritdoc}
1111
*/
12-
public static function getEndPoint()
12+
public static function getEndPoint(Url $url)
1313
{
1414
return 'http://api.meetup.com/oembed';
1515
}

0 commit comments

Comments
 (0)