@@ -15,8 +15,8 @@ |
||
| 15 | 15 | /** |
| 16 | 16 | * Add a display group |
| 17 | 17 | * Groups named elements for display purposes. |
| 18 | - * @param array $elements |
|
| 19 | - * @param $name |
|
| 18 | + * @param string[] $elements |
|
| 19 | + * @param string $name |
|
| 20 | 20 | * @return $this |
| 21 | 21 | */ |
| 22 | 22 | public function addDisplayGroup(array $elements, $name) |
@@ -13,8 +13,8 @@ |
||
| 13 | 13 | class DecoratorFactory |
| 14 | 14 | { |
| 15 | 15 | /** |
| 16 | - * @param AbstractElement|HasDecoratorsTrait $element |
|
| 17 | - * @param $type |
|
| 16 | + * @param HasDecoratorsTrait $element |
|
| 17 | + * @param string $type |
|
| 18 | 18 | * @return AbstractDecorator |
| 19 | 19 | */ |
| 20 | 20 | public static function createForElement($element, $type) |