mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-19 11:06:15 +00:00
Fix incorrect doc block.
This commit is contained in:
parent
cccf663c23
commit
167a551656
2 changed files with 3 additions and 1 deletions
|
@ -501,7 +501,7 @@ class HttpSocket extends CakeSocket {
|
|||
* urls.
|
||||
*
|
||||
* {{{
|
||||
* $http->configUri('http://www.cakephp.org');
|
||||
* $http = new HttpSocket('http://www.cakephp.org');
|
||||
* $url = $http->url('/search?q=bar');
|
||||
* }}}
|
||||
*
|
||||
|
|
|
@ -287,9 +287,11 @@ class HttpSocketTest extends CakeTestCase {
|
|||
);
|
||||
$this->assertEquals($this->Socket->config, $expected);
|
||||
$this->assertTrue($r);
|
||||
|
||||
$r = $this->Socket->configUri('/this-is-broken');
|
||||
$this->assertEquals($this->Socket->config, $expected);
|
||||
$this->assertFalse($r);
|
||||
|
||||
$r = $this->Socket->configUri(false);
|
||||
$this->assertEquals($this->Socket->config, $expected);
|
||||
$this->assertFalse($r);
|
||||
|
|
Loading…
Add table
Reference in a new issue