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