@@ -100,7 +100,6 @@ |
||
100 | 100 | * Sets orientation for the $route. |
101 | 101 | * |
102 | 102 | * @param string $route |
103 | - * @param string $orientation |
|
104 | 103 | */ |
105 | 104 | public function set($route, $options = []) |
106 | 105 | { |
@@ -336,7 +336,6 @@ |
||
336 | 336 | * Renders button to choose representation. |
337 | 337 | * Returns empty string when nothing to choose (less then 2 representations available). |
338 | 338 | * @param array $grid class |
339 | - * @param mixed $current selected representation |
|
340 | 339 | * @return string rendered HTML |
341 | 340 | */ |
342 | 341 | public function renderRepresentations($grid) |
@@ -51,6 +51,10 @@ |
||
51 | 51 | return ArrayHelper::map($models, $from, $to, $group); |
52 | 52 | } |
53 | 53 | |
54 | + /** |
|
55 | + * @param string $name |
|
56 | + * @param string $translate |
|
57 | + */ |
|
54 | 58 | public static function findCached($name, $translate = null, $options = []) |
55 | 59 | { |
56 | 60 | if ($translate === null) { |