replace get_class($this) with __CLASS__

This commit is contained in:
Andreas Schamberger 2011-09-26 16:25:56 +02:00
parent a46a42412e
commit dfb2bcebb8
1 changed files with 3 additions and 3 deletions

View File

@ -58,7 +58,7 @@ class SimpleSoapClient
if ($isInvalid) {
throw new \InvalidArgumentException(sprintf(
'The "%s" class does not support the following options: "%s".',
get_class($this),
__CLASS__,
implode('\', \'', $invalid)
));
}
@ -75,7 +75,7 @@ class SimpleSoapClient
if (!array_key_exists($name, $this->options)) {
throw new \InvalidArgumentException(sprintf(
'The "%s" class does not support the "%s" option.',
get_class($this),
__CLASS__,
$name
));
}
@ -100,7 +100,7 @@ class SimpleSoapClient
if (!array_key_exists($key, $this->options)) {
throw new \InvalidArgumentException(sprintf(
'The "%s" class does not support the "%s" option.',
get_class($this),
__CLASS__,
$key
));
}