mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-12-16 07:59:30 +00:00
Fixed some more inspection issues
This commit is contained in:
parent
de96aae9a5
commit
29d1d49aca
83 changed files with 153 additions and 172 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, $property, $value): void
|
||||
public function setProtectedProperty(object $object, string $property, $value): void
|
||||
{
|
||||
$reflection = new ReflectionClass($object);
|
||||
$reflection_property = $reflection->getProperty($property);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue