replace get_class($this) with __CLASS__
This commit is contained in:
parent
a46a42412e
commit
dfb2bcebb8
|
@ -58,7 +58,7 @@ class SimpleSoapClient
|
||||||
if ($isInvalid) {
|
if ($isInvalid) {
|
||||||
throw new \InvalidArgumentException(sprintf(
|
throw new \InvalidArgumentException(sprintf(
|
||||||
'The "%s" class does not support the following options: "%s".',
|
'The "%s" class does not support the following options: "%s".',
|
||||||
get_class($this),
|
__CLASS__,
|
||||||
implode('\', \'', $invalid)
|
implode('\', \'', $invalid)
|
||||||
));
|
));
|
||||||
}
|
}
|
||||||
|
@ -75,7 +75,7 @@ class SimpleSoapClient
|
||||||
if (!array_key_exists($name, $this->options)) {
|
if (!array_key_exists($name, $this->options)) {
|
||||||
throw new \InvalidArgumentException(sprintf(
|
throw new \InvalidArgumentException(sprintf(
|
||||||
'The "%s" class does not support the "%s" option.',
|
'The "%s" class does not support the "%s" option.',
|
||||||
get_class($this),
|
__CLASS__,
|
||||||
$name
|
$name
|
||||||
));
|
));
|
||||||
}
|
}
|
||||||
|
@ -100,7 +100,7 @@ class SimpleSoapClient
|
||||||
if (!array_key_exists($key, $this->options)) {
|
if (!array_key_exists($key, $this->options)) {
|
||||||
throw new \InvalidArgumentException(sprintf(
|
throw new \InvalidArgumentException(sprintf(
|
||||||
'The "%s" class does not support the "%s" option.',
|
'The "%s" class does not support the "%s" option.',
|
||||||
get_class($this),
|
__CLASS__,
|
||||||
$key
|
$key
|
||||||
));
|
));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue