@@ -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 class create object maps |
| 69 | 68 | * @var array<class-string, array<string, mixed>> |
@@ -321,8 +320,7 @@ discard block |
||
| 321 | 320 | * @param string $name |
| 322 | 321 | * @return mixed |
| 323 | 322 | */ |
| 324 | - public function getPropertyValue(string $class, object $instance, string $name) |
|
| 325 | - { |
|
| 323 | + public function getPropertyValue(string $class, object $instance, string $name) { |
|
| 326 | 324 | $reflection = $this->getPrivateProtectedAttribute($class, $name); |
| 327 | 325 | return $reflection->getValue($instance); |
| 328 | 326 | } |
@@ -335,8 +333,7 @@ discard block |
||
| 335 | 333 | * @param mixed $value |
| 336 | 334 | * @return void |
| 337 | 335 | */ |
| 338 | - public function setPropertyValue(string $class, object $instance, string $name, $value) |
|
| 339 | - { |
|
| 336 | + public function setPropertyValue(string $class, object $instance, string $name, $value) { |
|
| 340 | 337 | $reflection = $this->getPrivateProtectedAttribute($class, $name); |
| 341 | 338 | $reflection->setValue($instance, $value); |
| 342 | 339 | } |