@@ -6,7 +6,7 @@ |
||
6 | 6 | { |
7 | 7 | /** |
8 | 8 | * Figures out which template to render. |
9 | - * @param $widget |
|
9 | + * @param \Imanghafoori\Widgets\BaseWidget $widget |
|
10 | 10 | * @return null |
11 | 11 | */ |
12 | 12 | public function normalizeTemplateName($widget) |
@@ -50,7 +50,7 @@ |
||
50 | 50 | |
51 | 51 | /** |
52 | 52 | * Figures out what the variable name should be in view file. |
53 | - * @param $widget |
|
53 | + * @param BaseWidget $widget |
|
54 | 54 | * @return null |
55 | 55 | */ |
56 | 56 | private function normalizeContextAs($widget) |