@@ -87,7 +87,7 @@ |
||
87 | 87 | * Enriches an entity with metadata: |
88 | 88 | * id, version, created_at, updated_at |
89 | 89 | * |
90 | - * @param mixed $id |
|
90 | + * @param string|null $id |
|
91 | 91 | * the id of the entity to enrich |
92 | 92 | * @param Entity $entity |
93 | 93 | * the entity to enrich |
@@ -721,7 +721,7 @@ |
||
721 | 721 | * the name of the field |
722 | 722 | * @param string $key |
723 | 723 | * the value of the key |
724 | - * @param mixed $value |
|
724 | + * @param string $value |
|
725 | 725 | * the new value |
726 | 726 | */ |
727 | 727 | public function setField($name, $key, $value) |
@@ -330,12 +330,12 @@ |
||
330 | 330 | /** |
331 | 331 | * Sets a template to use instead of the build in ones. |
332 | 332 | * |
333 | - * @param $key |
|
333 | + * @param string $key |
|
334 | 334 | * the template key to use in this format: |
335 | 335 | * $section.$action.$entity |
336 | 336 | * $section.$action |
337 | 337 | * $section |
338 | - * @param $template |
|
338 | + * @param string $template |
|
339 | 339 | */ |
340 | 340 | public function setTemplate($key, $template) |
341 | 341 | { |