Skip to content

Commit 1248389

Browse files
committed
code styles
1 parent eb55036 commit 1248389

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

src/Url.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -416,17 +416,17 @@ protected function buildUrl()
416416
}
417417

418418
$user = isset($this->info['user']) ? $this->info['user'] : '';
419-
$pass = isset($this->info['pass']) ? ':' . $this->info['pass'] : '';
419+
$pass = isset($this->info['pass']) ? ':'.$this->info['pass'] : '';
420420
if ($user || $pass) {
421-
$url .= $user . $pass . '@';
421+
$url .= $user.$pass.'@';
422422
}
423423

424424
if (isset($this->info['host'])) {
425425
$url .= $this->info['host'];
426426
}
427427

428428
if (isset($this->info['port'])) {
429-
$url .= ':' . $this->info['port'];
429+
$url .= ':'.$this->info['port'];
430430
}
431431

432432
$url .= $this->getPath();

tests/SoundcloudTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ public function testOne()
77
$this->assertEmbed(
88
'https://soundcloud.com/zedsdead/zeds-dead-twin-shadow-lost-you-feat-dangelo-lacy',
99
[
10-
'title' => "Lost You by Zeds Dead",
10+
'title' => 'Lost You by Zeds Dead',
1111
'type' => 'rich',
1212
'code' => '<iframe width="100%" height="400" scrolling="no" frameborder="no" src="https://w.soundcloud.com/player/?visual=true&url=https%3A%2F%2Fapi.soundcloud.com%2Ftracks%2F150745932&show_artwork=true"></iframe>',
1313
'providerName' => 'SoundCloud',
@@ -51,7 +51,7 @@ public function testMobile()
5151
$this->assertEmbed(
5252
'https://m.soundcloud.com/zedsdead/zeds-dead-twin-shadow-lost-you-feat-dangelo-lacy',
5353
[
54-
'title' => "Lost You by Zeds Dead",
54+
'title' => 'Lost You by Zeds Dead',
5555
'type' => 'rich',
5656
'code' => '<iframe width="100%" height="400" scrolling="no" frameborder="no" src="https://w.soundcloud.com/player/?visual=true&url=https%3A%2F%2Fapi.soundcloud.com%2Ftracks%2F150745932&show_artwork=true"></iframe>',
5757
'providerName' => 'SoundCloud',

0 commit comments

Comments
 (0)