mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
code style
This commit is contained in:
parent
44c0d73391
commit
c44113af66
2 changed files with 2 additions and 2 deletions
|
@ -626,7 +626,7 @@ class CakeEmail {
|
||||||
}
|
}
|
||||||
if ($email == '') {
|
if ($email == '') {
|
||||||
throw new SocketException(__d('cake_dev', 'The email set for "%s" is empty.', $context));
|
throw new SocketException(__d('cake_dev', 'The email set for "%s" is empty.', $context));
|
||||||
}
|
}
|
||||||
throw new SocketException(__d('cake_dev', 'Invalid email set for "%s". You passed "%s".', $context, $email));
|
throw new SocketException(__d('cake_dev', 'Invalid email set for "%s". You passed "%s".', $context, $email));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -341,7 +341,7 @@ class CakeEmailTest extends CakeTestCase {
|
||||||
public function testInvalidEmail() {
|
public function testInvalidEmail() {
|
||||||
$this->CakeEmail->to('');
|
$this->CakeEmail->to('');
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* testBuildInvalidData
|
* testBuildInvalidData
|
||||||
*
|
*
|
||||||
|
|
Loading…
Reference in a new issue