mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-08-03 17:55:03 +02:00
Applied rector to test files
This commit is contained in:
parent
7ee01d9a05
commit
98dc553938
46 changed files with 42 additions and 102 deletions
|
@ -282,7 +282,7 @@ class AttachmentTest extends TestCase
|
|||
* @param string $property - property on instance being modified
|
||||
* @param mixed $value - new value of the property being modified
|
||||
*/
|
||||
public function setProtectedProperty(object $object, string $property, $value): void
|
||||
public function setProtectedProperty(object $object, string $property, mixed $value): void
|
||||
{
|
||||
$reflection = new ReflectionClass($object);
|
||||
$reflection_property = $reflection->getProperty($property);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue