Skip to content

Commit a1c869e

Browse files
authored
Update CS (#1)
1 parent 9ef12f9 commit a1c869e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/AccessibleObject.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ public function __construct($object)
3232
public function __call($name, array $arguments)
3333
{
3434
if (!method_exists($this->object, $name)) {
35-
throw new \LogicException(sprintf('Cannot call non existing method %s->%s.', get_class($this->object), $name));
35+
throw new \LogicException(sprintf('Cannot call non existing method %s->%s.', \get_class($this->object), $name));
3636
}
3737

3838
$method = $this->reflection->getMethod($name);
@@ -55,7 +55,7 @@ public function __isset($name)
5555
public function __get($name)
5656
{
5757
if (!property_exists($this->object, $name)) {
58-
throw new \LogicException(sprintf('Cannot get non existing property %s->%s.', get_class($this->object), $name));
58+
throw new \LogicException(sprintf('Cannot get non existing property %s->%s.', \get_class($this->object), $name));
5959
}
6060

6161
$property = $this->reflection->getProperty($name);
@@ -67,7 +67,7 @@ public function __get($name)
6767
public function __set($name, $value)
6868
{
6969
if (!property_exists($this->object, $name)) {
70-
throw new \LogicException(sprintf('Cannot set non existing property %s->%s = %s.', get_class($this->object), $name, var_export($value, true)));
70+
throw new \LogicException(sprintf('Cannot set non existing property %s->%s = %s.', \get_class($this->object), $name, var_export($value, true)));
7171
}
7272

7373
$property = $this->reflection->getProperty($name);

0 commit comments

Comments
 (0)