Passed
Push — develop ( 268024...404ff9 )
by nguereza
01:50
created
src/PlatineTestCase.php 1 patch
Braces   +3 added lines, -6 removed lines patch added patch discarded remove patch
@@ -60,8 +60,7 @@  discard block
 block discarded – undo
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
      * Method to test private & protected method
67 66
      *
@@ -236,8 +235,7 @@  discard block
 block discarded – undo
236 235
      * @param string $name
237 236
      * @return mixed
238 237
      */
239
-    public function getPropertyValue(string $class, object $instance, string $name)
240
-    {
238
+    public function getPropertyValue(string $class, object $instance, string $name) {
241 239
         $reflection = $this->getPrivateProtectedAttribute($class, $name);
242 240
         return $reflection->getValue($instance);
243 241
     }
@@ -250,8 +248,7 @@  discard block
 block discarded – undo
250 248
      * @param mixed $value
251 249
      * @return void
252 250
      */
253
-    public function setPropertyValue(string $class, object $instance, string $name, $value)
254
-    {
251
+    public function setPropertyValue(string $class, object $instance, string $name, $value) {
255 252
         $reflection = $this->getPrivateProtectedAttribute($class, $name);
256 253
         $reflection->setValue($instance, $value);
257 254
     }
Please login to merge, or discard this patch.