@@ -12,7 +12,7 @@ discard block |
||
12 | 12 | class FieldCollection extends AbstractCollection implements CollectionInterface |
13 | 13 | { |
14 | 14 | /** |
15 | - * @param $name |
|
15 | + * @param string $name |
|
16 | 16 | * @return FieldInterface|null |
17 | 17 | */ |
18 | 18 | public function findByName($name) |
@@ -31,7 +31,7 @@ discard block |
||
31 | 31 | } |
32 | 32 | /** |
33 | 33 | * @param $name |
34 | - * @return FieldInterface|null |
|
34 | + * @return boolean |
|
35 | 35 | */ |
36 | 36 | public function removeByName($name): bool |
37 | 37 | { |