@@ -62,8 +62,7 @@ discard block |
||
| 62 | 62 | * @class PlatineTestCase |
| 63 | 63 | * @package Platine\Dev |
| 64 | 64 | */ |
| 65 | -class PlatineTestCase extends TestCase |
|
| 66 | -{ |
|
| 65 | +class PlatineTestCase extends TestCase { |
|
| 67 | 66 | /** |
| 68 | 67 | * The Platine File system instance |
| 69 | 68 | * @var PlatineFileSystem |
@@ -289,8 +288,7 @@ discard block |
||
| 289 | 288 | * @param string $name |
| 290 | 289 | * @return mixed |
| 291 | 290 | */ |
| 292 | - public function getPropertyValue(string $class, object $instance, string $name) |
|
| 293 | - { |
|
| 291 | + public function getPropertyValue(string $class, object $instance, string $name) { |
|
| 294 | 292 | $reflection = $this->getPrivateProtectedAttribute($class, $name); |
| 295 | 293 | return $reflection->getValue($instance); |
| 296 | 294 | } |
@@ -303,8 +301,7 @@ discard block |
||
| 303 | 301 | * @param mixed $value |
| 304 | 302 | * @return void |
| 305 | 303 | */ |
| 306 | - public function setPropertyValue(string $class, object $instance, string $name, $value) |
|
| 307 | - { |
|
| 304 | + public function setPropertyValue(string $class, object $instance, string $name, $value) { |
|
| 308 | 305 | $reflection = $this->getPrivateProtectedAttribute($class, $name); |
| 309 | 306 | $reflection->setValue($instance, $value); |
| 310 | 307 | } |