@@ -74,7 +74,7 @@ |
||
74 | 74 | * Builds the ReflectionProperty from the provided parameters, |
75 | 75 | * linking to a parent ReflectionComposite |
76 | 76 | * |
77 | - * @param ReflectionCompostite $parent The reflector for the class |
|
77 | + * @param ReflectionComposite $parent The reflector for the class |
|
78 | 78 | * this property belongs to |
79 | 79 | * @param mixed $default This property's default value |
80 | 80 | * @return ReflectionProperty |
@@ -16,13 +16,6 @@ |
||
16 | 16 | |
17 | 17 | use Spaark\CompositeUtils\Model\Reflection\ReflectionComposite; |
18 | 18 | use Spaark\CompositeUtils\Model\Reflection\ReflectionProperty; |
19 | -use Spaark\CompositeUtils\Model\Reflection\ReflectionParameter; |
|
20 | -use Spaark\CompositeUtils\Model\Reflection\Type\BooleanType; |
|
21 | -use Spaark\CompositeUtils\Model\Reflection\Type\CollectionType; |
|
22 | -use Spaark\CompositeUtils\Model\Reflection\Type\IntegerType; |
|
23 | -use Spaark\CompositeUtils\Model\Reflection\Type\MixedType; |
|
24 | -use Spaark\CompositeUtils\Model\Reflection\Type\ObjectType; |
|
25 | -use Spaark\CompositeUtils\Model\Reflection\Type\StringType; |
|
26 | 19 | use Spaark\CompositeUtils\Service\RawPropertyAccessor; |
27 | 20 | use \ReflectionProperty as PHPNativeReflectionProperty; |
28 | 21 |
@@ -32,7 +32,7 @@ |
||
32 | 32 | /** |
33 | 33 | * Creates this ObjectType with the given classname |
34 | 34 | * |
35 | - * @param string $class The name of the class this must be an |
|
35 | + * @param string $classname The name of the class this must be an |
|
36 | 36 | * instance of |
37 | 37 | */ |
38 | 38 | public function __construct(string $classname) |
@@ -14,8 +14,6 @@ |
||
14 | 14 | |
15 | 15 | namespace Spaark\CompositeUtils\Model\Collection; |
16 | 16 | |
17 | -use Spaark\CompositeUtils\Traits\AutoConstructTrait; |
|
18 | - |
|
19 | 17 | /** |
20 | 18 | * Abstract Iterator for Map datatypes |
21 | 19 | * |
@@ -130,7 +130,7 @@ |
||
130 | 130 | * |
131 | 131 | * @param string $name |
132 | 132 | * @param bool $checkFile |
133 | - * @param string $singular |
|
133 | + * @param string $signular |
|
134 | 134 | */ |
135 | 135 | protected function addItems |
136 | 136 | ( |
@@ -14,7 +14,6 @@ |
||
14 | 14 | |
15 | 15 | namespace Spaark\CompositeUtils\Factory\Reflection; |
16 | 16 | |
17 | -use Spaark\CompositeUtils\Factory\BaseFactory; |
|
18 | 17 | use Spaark\CompositeUtils\Model\Reflection\ReflectionComposite; |
19 | 18 | use Spaark\CompositeUtils\Model\Reflection\ReflectionProperty; |
20 | 19 | use Spaark\CompositeUtils\Model\Reflection\ReflectionMethod; |
@@ -20,10 +20,7 @@ |
||
20 | 20 | use Spaark\CompositeUtils\Model\Reflection\Type\FloatType; |
21 | 21 | use Spaark\CompositeUtils\Model\Reflection\Type\MixedType; |
22 | 22 | use Spaark\CompositeUtils\Model\Reflection\Type\IntegerType; |
23 | -use Spaark\CompositeUtils\Model\Reflection\Type\CollectionType; |
|
24 | 23 | use Spaark\CompositeUtils\Model\Reflection\Type\StringType; |
25 | -use Spaark\CompositeUtils\Exception\PropertyNotWritableException; |
|
26 | -use Spaark\CompositeUtils\Exception\PropertyNotReadableException; |
|
27 | 24 | |
28 | 25 | /** |
29 | 26 | * Used to retrieve the classname for an AbstractType |
@@ -37,8 +37,6 @@ |
||
37 | 37 | /** |
38 | 38 | * Adds an element to the Map |
39 | 39 | * |
40 | - * @param KeyType $key The key to add |
|
41 | - * @param ValueType $value The value to add |
|
42 | 40 | */ |
43 | 41 | public function insert(Pair $pair) |
44 | 42 | { |