@@ -56,8 +56,7 @@ discard block |
||
| 56 | 56 | use ReflectionClass; |
| 57 | 57 | use ReflectionProperty; |
| 58 | 58 | |
| 59 | -class PlatineTestCase extends TestCase |
|
| 60 | -{ |
|
| 59 | +class PlatineTestCase extends TestCase { |
|
| 61 | 60 | |
| 62 | 61 | /** |
| 63 | 62 | * @codeCoverageIgnore |
@@ -217,8 +216,7 @@ discard block |
||
| 217 | 216 | * @param string $name |
| 218 | 217 | * @return mixed |
| 219 | 218 | */ |
| 220 | - public function getPropertyValue(string $class, object $instance, string $name) |
|
| 221 | - { |
|
| 219 | + public function getPropertyValue(string $class, object $instance, string $name) { |
|
| 222 | 220 | $reflection = $this->getPrivateProtectedAttribute($class, $name); |
| 223 | 221 | return $reflection->getValue($instance); |
| 224 | 222 | } |
@@ -231,8 +229,7 @@ discard block |
||
| 231 | 229 | * @param mixed $value |
| 232 | 230 | * @return void |
| 233 | 231 | */ |
| 234 | - public function setPropertyValue(string $class, object $instance, string $name, $value) |
|
| 235 | - { |
|
| 232 | + public function setPropertyValue(string $class, object $instance, string $name, $value) { |
|
| 236 | 233 | $reflection = $this->getPrivateProtectedAttribute($class, $name); |
| 237 | 234 | $reflection->setValue($instance, $value); |
| 238 | 235 | } |