@@ -37,7 +37,6 @@ |
||
| 37 | 37 | } |
| 38 | 38 | |
| 39 | 39 | /** |
| 40 | - * @param array $options |
|
| 41 | 40 | */ |
| 42 | 41 | public function add($key, $value) |
| 43 | 42 | { |
@@ -86,6 +86,9 @@ |
||
| 86 | 86 | ); |
| 87 | 87 | } |
| 88 | 88 | |
| 89 | + /** |
|
| 90 | + * @param Widget $widget |
|
| 91 | + */ |
|
| 89 | 92 | private function generateHash($widget) |
| 90 | 93 | { |
| 91 | 94 | return sprintf('%s-%s-%s-%s', |
@@ -33,7 +33,7 @@ |
||
| 33 | 33 | * @param string $view The requested template key |
| 34 | 34 | * @param array $params The params to give to the template |
| 35 | 35 | * |
| 36 | - * @return template |
|
| 36 | + * @return string |
|
| 37 | 37 | **/ |
| 38 | 38 | public function render($view, $params) |
| 39 | 39 | { |
@@ -21,7 +21,7 @@ discard block |
||
| 21 | 21 | /** |
| 22 | 22 | * WidgetCache constructor. |
| 23 | 23 | * |
| 24 | - * @param Client $cache |
|
| 24 | + * @param WidgetCache $cache |
|
| 25 | 25 | */ |
| 26 | 26 | public function __construct(WidgetCache $cache) |
| 27 | 27 | { |
@@ -29,7 +29,6 @@ discard block |
||
| 29 | 29 | } |
| 30 | 30 | |
| 31 | 31 | /** |
| 32 | - * @param Widget $widget |
|
| 33 | 32 | * |
| 34 | 33 | * @return string |
| 35 | 34 | */ |