@@ -60,8 +60,7 @@ discard block |
||
| 60 | 60 | * @class PlatineTestCase |
| 61 | 61 | * @package Platine\Dev |
| 62 | 62 | */ |
| 63 | -class PlatineTestCase extends TestCase |
|
| 64 | -{ |
|
| 63 | +class PlatineTestCase extends TestCase { |
|
| 65 | 64 | /** |
| 66 | 65 | * @codeCoverageIgnore |
| 67 | 66 | * @return void |
@@ -250,8 +249,7 @@ discard block |
||
| 250 | 249 | * @param string $name |
| 251 | 250 | * @return mixed |
| 252 | 251 | */ |
| 253 | - public function getPropertyValue(string $class, object $instance, string $name) |
|
| 254 | - { |
|
| 252 | + public function getPropertyValue(string $class, object $instance, string $name) { |
|
| 255 | 253 | $reflection = $this->getPrivateProtectedAttribute($class, $name); |
| 256 | 254 | return $reflection->getValue($instance); |
| 257 | 255 | } |
@@ -264,8 +262,7 @@ discard block |
||
| 264 | 262 | * @param mixed $value |
| 265 | 263 | * @return void |
| 266 | 264 | */ |
| 267 | - public function setPropertyValue(string $class, object $instance, string $name, $value) |
|
| 268 | - { |
|
| 265 | + public function setPropertyValue(string $class, object $instance, string $name, $value) { |
|
| 269 | 266 | $reflection = $this->getPrivateProtectedAttribute($class, $name); |
| 270 | 267 | $reflection->setValue($instance, $value); |
| 271 | 268 | } |