@@ -2,9 +2,7 @@ |
||
2 | 2 | |
3 | 3 | namespace Spaark\CompositeUtils\Factory\Reflection; |
4 | 4 | |
5 | -use Spaark\CompositeUtils\Factory\BaseFactory; |
|
6 | 5 | use Spaark\CompositeUtils\Model\Reflection\ReflectionComposite; |
7 | -use Spaark\CompositeUtils\Service\PropertyAccessor; |
|
8 | 6 | use \ReflectionClass as PHPNativeReflectionClass; |
9 | 7 | |
10 | 8 | class ReflectionCompositeFactory extends ReflectorFactory |
@@ -4,7 +4,6 @@ |
||
4 | 4 | |
5 | 5 | use Spaark\CompositeUtils\Model\Reflection\ReflectionComposite; |
6 | 6 | use Spaark\CompositeUtils\Model\Reflection\ReflectionProperty; |
7 | -use Spaark\CompositeUtils\Model\Reflection\ReflectionParameter; |
|
8 | 7 | use Spaark\CompositeUtils\Model\Reflection\Type\BooleanType; |
9 | 8 | use Spaark\CompositeUtils\Model\Reflection\Type\CollectionType; |
10 | 9 | use Spaark\CompositeUtils\Model\Reflection\Type\IntegerType; |
@@ -29,7 +29,6 @@ discard block |
||
29 | 29 | |
30 | 30 | /** |
31 | 31 | * @param object $object The object to access |
32 | - * @param ReflectionModel|null $reflect A reflection entity |
|
33 | 32 | */ |
34 | 33 | public function __construct($object) |
35 | 34 | { |
@@ -80,7 +79,7 @@ discard block |
||
80 | 79 | * Adds a value to a property, irrespective of access permissions |
81 | 80 | * |
82 | 81 | * @param string $key The property to write to |
83 | - * @param mixed $value The value to add |
|
82 | + * @param \Spaark\CompositeUtils\Model\Reflection\Reflector $value The value to add |
|
84 | 83 | * @throws CannotWritePropertyException In the event the property |
85 | 84 | * does not exist |
86 | 85 | */ |