@@ -336,7 +336,7 @@ |
||
| 336 | 336 | |
| 337 | 337 | |
| 338 | 338 | /** |
| 339 | - * @param $type |
|
| 339 | + * @param string $type |
|
| 340 | 340 | * @return $this |
| 341 | 341 | */ |
| 342 | 342 | public function setRendererType($type) |
@@ -106,7 +106,7 @@ |
||
| 106 | 106 | } |
| 107 | 107 | |
| 108 | 108 | /** |
| 109 | - * @param $value |
|
| 109 | + * @param string $value |
|
| 110 | 110 | * @return $this |
| 111 | 111 | */ |
| 112 | 112 | public function setValue($value) |
@@ -153,7 +153,7 @@ |
||
| 153 | 153 | } |
| 154 | 154 | |
| 155 | 155 | /** |
| 156 | - * @return mixed |
|
| 156 | + * @return string |
|
| 157 | 157 | */ |
| 158 | 158 | public function render() |
| 159 | 159 | { |
@@ -25,6 +25,9 @@ |
||
| 25 | 25 | |
| 26 | 26 | protected $_type = 'abstract'; |
| 27 | 27 | |
| 28 | + /** |
|
| 29 | + * @param Nip_Form $form |
|
| 30 | + */ |
|
| 28 | 31 | public function __construct($form) |
| 29 | 32 | { |
| 30 | 33 | $this->setForm($form); |
@@ -243,7 +243,7 @@ discard block |
||
| 243 | 243 | |
| 244 | 244 | /** |
| 245 | 245 | * @param AbstractElement $element |
| 246 | - * @return mixed |
|
| 246 | + * @return AbstractElementRenderer |
|
| 247 | 247 | */ |
| 248 | 248 | protected function getNewElementRenderer(AbstractElement $element) |
| 249 | 249 | { |
@@ -273,7 +273,7 @@ discard block |
||
| 273 | 273 | |
| 274 | 274 | /** |
| 275 | 275 | * @param Nip_Form_Button_Abstract $button |
| 276 | - * @return mixed |
|
| 276 | + * @return AbstractButtonRenderer |
|
| 277 | 277 | */ |
| 278 | 278 | protected function getNewButtonRenderer(Nip_Form_Button_Abstract $button) |
| 279 | 279 | { |
@@ -75,7 +75,7 @@ |
||
| 75 | 75 | } |
| 76 | 76 | |
| 77 | 77 | /** |
| 78 | - * @param $label |
|
| 78 | + * @param Nip_Form_Element_Abstract $label |
|
| 79 | 79 | * @param bool $required |
| 80 | 80 | * @param bool $error |
| 81 | 81 | * @return string |
@@ -47,7 +47,7 @@ |
||
| 47 | 47 | } |
| 48 | 48 | |
| 49 | 49 | /** |
| 50 | - * @param $label |
|
| 50 | + * @param Nip_Form_Element_Abstract $label |
|
| 51 | 51 | * @param bool $required |
| 52 | 52 | * @param bool $error |
| 53 | 53 | * @return string |
@@ -92,7 +92,7 @@ |
||
| 92 | 92 | } |
| 93 | 93 | |
| 94 | 94 | /** |
| 95 | - * @return array |
|
| 95 | + * @return string[] |
|
| 96 | 96 | */ |
| 97 | 97 | public function getItemAttribs() |
| 98 | 98 | { |
@@ -133,7 +133,7 @@ |
||
| 133 | 133 | } |
| 134 | 134 | |
| 135 | 135 | /** |
| 136 | - * @return array |
|
| 136 | + * @return string[] |
|
| 137 | 137 | */ |
| 138 | 138 | public function getElementAttribs() |
| 139 | 139 | { |