@@ -36,7 +36,7 @@ |
||
| 36 | 36 | } |
| 37 | 37 | |
| 38 | 38 | /** |
| 39 | - * @param $m |
|
| 39 | + * @param string $m |
|
| 40 | 40 | * @return string |
| 41 | 41 | */ |
| 42 | 42 | protected function translate($m): string |
@@ -105,6 +105,9 @@ |
||
| 105 | 105 | return $columns; |
| 106 | 106 | } |
| 107 | 107 | |
| 108 | + /** |
|
| 109 | + * @param string $name |
|
| 110 | + */ |
|
| 108 | 111 | public function getBooleanColumn($name) { |
| 109 | 112 | return [ |
| 110 | 113 | 'class' => BooleanColumn::class, |
@@ -33,6 +33,9 @@ |
||
| 33 | 33 | return '/' . implode('/', $parts); |
| 34 | 34 | } |
| 35 | 35 | |
| 36 | + /** |
|
| 37 | + * @param \execut\actions\Action $action |
|
| 38 | + */ |
|
| 36 | 39 | public static function createFromAction($action, $helper = null) { |
| 37 | 40 | $controller = $action->controller; |
| 38 | 41 | if ($helper === null) { |
@@ -36,7 +36,7 @@ |
||
| 36 | 36 | } |
| 37 | 37 | |
| 38 | 38 | /** |
| 39 | - * @param $m |
|
| 39 | + * @param string $m |
|
| 40 | 40 | * @return string |
| 41 | 41 | */ |
| 42 | 42 | protected function translate($m): string |