@@ -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; |
@@ -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 |
@@ -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 \ReflectionClass as PHPNativeReflectionClass; |
| 20 | 19 | use \ReflectionProperty as PHPNativeReflectionProperty; |
@@ -73,6 +73,9 @@ |
||
| 73 | 73 | unset($this->keys[$offset]); |
| 74 | 74 | } |
| 75 | 75 | |
| 76 | + /** |
|
| 77 | + * @param string $offset |
|
| 78 | + */ |
|
| 76 | 79 | public function contains($offset) |
| 77 | 80 | { |
| 78 | 81 | return $this->offsetExists($offset); |
@@ -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) |