@@ -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 | /** |
| 67 | 66 | * @codeCoverageIgnore |
@@ -251,8 +250,7 @@ discard block |
||
| 251 | 250 | * @param string $name |
| 252 | 251 | * @return mixed |
| 253 | 252 | */ |
| 254 | - public function getPropertyValue(string $class, object $instance, string $name) |
|
| 255 | - { |
|
| 253 | + public function getPropertyValue(string $class, object $instance, string $name) { |
|
| 256 | 254 | $reflection = $this->getPrivateProtectedAttribute($class, $name); |
| 257 | 255 | return $reflection->getValue($instance); |
| 258 | 256 | } |
@@ -265,8 +263,7 @@ discard block |
||
| 265 | 263 | * @param mixed $value |
| 266 | 264 | * @return void |
| 267 | 265 | */ |
| 268 | - public function setPropertyValue(string $class, object $instance, string $name, $value) |
|
| 269 | - { |
|
| 266 | + public function setPropertyValue(string $class, object $instance, string $name, $value) { |
|
| 270 | 267 | $reflection = $this->getPrivateProtectedAttribute($class, $name); |
| 271 | 268 | $reflection->setValue($instance, $value); |
| 272 | 269 | } |