mirror of
https://github.com/Yetangitu/ampache
synced 2025-10-03 17:59:21 +02:00
[BUGFIX] Fix some metadata errors
This commit is contained in:
parent
61de51ef93
commit
e96b0ff073
5 changed files with 19 additions and 12 deletions
|
@ -23,6 +23,8 @@
|
|||
|
||||
namespace Lib;
|
||||
|
||||
use Lib\Interfaces\Model;
|
||||
|
||||
/**
|
||||
* Description of Repository
|
||||
*
|
||||
|
@ -178,7 +180,7 @@ class Repository
|
|||
* @param string $property
|
||||
* @param mixed $value
|
||||
*/
|
||||
protected function setPrivateProperty(Object $object, $property, $value)
|
||||
protected function setPrivateProperty(Model $object, $property, $value)
|
||||
{
|
||||
$reflectionClass = new \ReflectionClass(get_class($object));
|
||||
$ReflectionProperty = $reflectionClass->getProperty($property);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue