Passed
Push — develop ( bf7095...d26772 )
by nguereza
12:42
created
src/PlatineTestCase.php 1 patch
Braces   +3 added lines, -6 removed lines patch added patch discarded remove patch
@@ -56,8 +56,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
     }
Please login to merge, or discard this patch.