@@ -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 |
@@ -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) |
@@ -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 | ( |
@@ -37,8 +37,6 @@ discard block |
||
| 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 | { |
@@ -59,7 +57,7 @@ discard block |
||
| 59 | 57 | /** |
| 60 | 58 | * Checks if a key exists |
| 61 | 59 | * |
| 62 | - * @param KeyType $key The key to search for |
|
| 60 | + * @param string $key The key to search for |
|
| 63 | 61 | * @return boolean |
| 64 | 62 | */ |
| 65 | 63 | public function containsKey($key) : bool |
@@ -103,6 +101,9 @@ discard block |
||
| 103 | 101 | return $this->list->size(); |
| 104 | 102 | } |
| 105 | 103 | |
| 104 | + /** |
|
| 105 | + * @param string $key |
|
| 106 | + */ |
|
| 106 | 107 | public function indexOfKey($key) |
| 107 | 108 | { |
| 108 | 109 | return $this->getPair($key)->index; |