Code optimation by PHP-Code Sniffer

This commit is contained in:
2020-04-02 21:13:35 +02:00
parent 725ca5b149
commit ac5a3f1d5a
314 changed files with 665 additions and 1688 deletions

View File

@@ -32,9 +32,7 @@ abstract class AbstractTestCase extends TestCase
}
/**
* @param object $object
* @param string $property
* @param mixed $value
* @param mixed $value
*/
public function setProperty(object &$object, string $property, $value): void
{
@@ -44,11 +42,6 @@ abstract class AbstractTestCase extends TestCase
$reflectionProperty->setValue($object, $value);
}
/**
* @param object $object
*
* @return \ReflectionClass
*/
private function getReflectionClassByObject(object &$object): \ReflectionClass
{
return new \ReflectionClass(get_class($object));