Skip to content

Commit 326b939

Browse files
committed
fixes
1 parent 192574d commit 326b939

File tree

4 files changed

+3
-5
lines changed

4 files changed

+3
-5
lines changed

src/Adapters/Facebook.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ public static function check(Request $request)
2929
*
3030
* @param Url $url
3131
*
32-
* @return null|string
32+
* @return string
3333
*/
3434
private function getId(Url $url)
3535
{

src/Providers/Html.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33

44
use Embed\Url;
55
use Embed\Bag;
6-
use Embed\Request;
76
use Embed\Utils;
87

98
/**

src/Providers/OpenGraph.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
<?php
22
namespace Embed\Providers;
33

4-
use Embed\Request;
54
use Embed\Utils;
65

76
/**

tests/SoundcloudTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ public function testOne()
55
{
66
$info = Embed\Embed::create('https://soundcloud.com/zedsdead/zeds-dead-twin-shadow-lost-you-feat-dangelo-lacy');
77

8-
$this->assertEquals($info->title, "Zeds Dead - Lost You (feat. Twin Shadow & D'Angelo Lacy) by Zeds Dead");
8+
$this->assertEquals($info->title, "Zeds Dead - Lost You (feat. Twin Shadow & D'Angelo Lacy)");
99
$this->assertEquals($info->type, 'rich');
1010
$this->assertEquals($info->code, '<iframe width="100%" height="400" scrolling="no" frameborder="no" src="https://w.soundcloud.com/player/?visual=true&url=http%3A%2F%2Fapi.soundcloud.com%2Ftracks%2F150745932&show_artwork=true"></iframe>');
1111
$this->assertEquals($info->authorName, 'Zeds Dead');
@@ -30,7 +30,7 @@ public function testThree()
3030
{
3131
$info = Embed\Embed::create('https://soundcloud.com/calumfoad/sets/flaws-ep-stream');
3232

33-
$this->assertEquals($info->title, "Flaws EP by Calum Foad");
33+
$this->assertEquals($info->title, "Flaws EP");
3434
$this->assertEquals($info->description, "19 year old singer/songwriter from Reading.");
3535
$this->assertEquals($info->type, 'rich');
3636
$this->assertEquals($info->code, '<iframe width="100%" height="450" scrolling="no" frameborder="no" src="https://w.soundcloud.com/player/?visual=true&url=http%3A%2F%2Fapi.soundcloud.com%2Fplaylists%2F46025307&show_artwork=true"></iframe>');

0 commit comments

Comments
 (0)