@@ -141,7 +141,7 @@ discard block |
||
| 141 | 141 | /** |
| 142 | 142 | * Add text type field |
| 143 | 143 | * |
| 144 | - * @param $fieldName |
|
| 144 | + * @param string $fieldName |
|
| 145 | 145 | * @param array $options |
| 146 | 146 | * @param string $template |
| 147 | 147 | * @return Form |
@@ -182,7 +182,7 @@ discard block |
||
| 182 | 182 | /** |
| 183 | 183 | * Add password type field |
| 184 | 184 | * |
| 185 | - * @param $fieldName |
|
| 185 | + * @param string $fieldName |
|
| 186 | 186 | * @param array $options |
| 187 | 187 | * @param string $template |
| 188 | 188 | * @return Form |
@@ -410,7 +410,7 @@ discard block |
||
| 410 | 410 | } |
| 411 | 411 | |
| 412 | 412 | /** |
| 413 | - * @param $fieldName |
|
| 413 | + * @param string $fieldName |
|
| 414 | 414 | * @param array $options |
| 415 | 415 | * @param string $template |
| 416 | 416 | * @return Form |
@@ -56,7 +56,7 @@ |
||
| 56 | 56 | /** |
| 57 | 57 | * Runtime append resource |
| 58 | 58 | * |
| 59 | - * @param $resourceType |
|
| 59 | + * @param string $resourceType |
|
| 60 | 60 | * @param $resource |
| 61 | 61 | * |
| 62 | 62 | * @author dp <[email protected]> |
@@ -159,7 +159,7 @@ discard block |
||
| 159 | 159 | /** |
| 160 | 160 | * @param Model_Account $account |
| 161 | 161 | * @param $input |
| 162 | - * @return null |
|
| 162 | + * @return Model_Account |
|
| 163 | 163 | * @throws Exception |
| 164 | 164 | */ |
| 165 | 165 | final protected function restorePassword($account, $input) |
@@ -214,6 +214,9 @@ discard block |
||
| 214 | 214 | ->exception(['Implement {$0} for {$1}', [__FUNCTION__, get_class($this)]], __FILE__, __LINE__); |
| 215 | 215 | } |
| 216 | 216 | |
| 217 | + /** |
|
| 218 | + * @param Model_Account $account |
|
| 219 | + */ |
|
| 217 | 220 | final protected function changePassword($account, $accountData, $input) |
| 218 | 221 | { |
| 219 | 222 | $logger = $this->getLogger(); |
@@ -124,7 +124,7 @@ |
||
| 124 | 124 | * @param \Exception $exception |
| 125 | 125 | * @param $output |
| 126 | 126 | * |
| 127 | - * @param $class |
|
| 127 | + * @param string $class |
|
| 128 | 128 | * @throws \Exception |
| 129 | 129 | * @author dp <[email protected]> |
| 130 | 130 | * |
@@ -390,6 +390,10 @@ discard block |
||
| 390 | 390 | self::$log = []; |
| 391 | 391 | } |
| 392 | 392 | |
| 393 | + /** |
|
| 394 | + * @param string $value |
|
| 395 | + * @param string $label |
|
| 396 | + */ |
|
| 393 | 397 | public static function log($value, $label = null, $type = 'LOG', $options = []) |
| 394 | 398 | { |
| 395 | 399 | $value = str_replace(["\n", "\t"], ' ', $value); |
@@ -522,6 +526,9 @@ discard block |
||
| 522 | 526 | } |
| 523 | 527 | } |
| 524 | 528 | |
| 529 | + /** |
|
| 530 | + * @param string $type |
|
| 531 | + */ |
|
| 525 | 532 | private function getFbType($type) |
| 526 | 533 | { |
| 527 | 534 | switch ($type) { |
@@ -559,8 +566,8 @@ discard block |
||
| 559 | 566 | * Warning |
| 560 | 567 | * |
| 561 | 568 | * @param $message |
| 562 | - * @param $file |
|
| 563 | - * @param $line |
|
| 569 | + * @param string $file |
|
| 570 | + * @param integer $line |
|
| 564 | 571 | * @param \Exception $e |
| 565 | 572 | * @param null $errcontext |
| 566 | 573 | * @param int $errno |
@@ -580,8 +587,8 @@ discard block |
||
| 580 | 587 | * Fatal - throw ice exception |
| 581 | 588 | * |
| 582 | 589 | * @param $message |
| 583 | - * @param $file |
|
| 584 | - * @param $line |
|
| 590 | + * @param string $file |
|
| 591 | + * @param integer $line |
|
| 585 | 592 | * @param \Exception $e |
| 586 | 593 | * @param null $errcontext |
| 587 | 594 | * @param int $errno |
@@ -172,6 +172,9 @@ |
||
| 172 | 172 | ->send(); |
| 173 | 173 | } |
| 174 | 174 | |
| 175 | + /** |
|
| 176 | + * @param string $expired |
|
| 177 | + */ |
|
| 175 | 178 | public function prolongate($expired) |
| 176 | 179 | { |
| 177 | 180 | // TODO: Implement prolongate() method. |
@@ -56,7 +56,7 @@ |
||
| 56 | 56 | * @param array $data |
| 57 | 57 | * @param null $layout |
| 58 | 58 | * @param string $templateType |
| 59 | - * @return mixed |
|
| 59 | + * @return string |
|
| 60 | 60 | * @throws \Exception |
| 61 | 61 | * @author dp <[email protected]> |
| 62 | 62 | * |
@@ -193,6 +193,9 @@ discard block |
||
| 193 | 193 | return $this; |
| 194 | 194 | } |
| 195 | 195 | |
| 196 | + /** |
|
| 197 | + * @return string |
|
| 198 | + */ |
|
| 196 | 199 | public function getId($postfix = '') |
| 197 | 200 | { |
| 198 | 201 | if ($postfix) { |
@@ -244,6 +247,9 @@ discard block |
||
| 244 | 247 | $this->offset = $offset; |
| 245 | 248 | } |
| 246 | 249 | |
| 250 | + /** |
|
| 251 | + * @param integer $offset |
|
| 252 | + */ |
|
| 247 | 253 | public function cloneComponent($offset) |
| 248 | 254 | { |
| 249 | 255 | $widgetComponent = clone $this; |
@@ -399,7 +405,7 @@ discard block |
||
| 399 | 405 | // } |
| 400 | 406 | |
| 401 | 407 | /** |
| 402 | - * @param $name |
|
| 408 | + * @param string $name |
|
| 403 | 409 | * @param $value |
| 404 | 410 | */ |
| 405 | 411 | public function setOption($name, $value) |
@@ -409,7 +415,7 @@ discard block |
||
| 409 | 415 | |
| 410 | 416 | /** |
| 411 | 417 | * @param string $classes |
| 412 | - * @return null |
|
| 418 | + * @return string |
|
| 413 | 419 | */ |
| 414 | 420 | public function getClassAttribute($classes = '') |
| 415 | 421 | { |
@@ -594,6 +600,9 @@ discard block |
||
| 594 | 600 | return $valueKey; |
| 595 | 601 | } |
| 596 | 602 | |
| 603 | + /** |
|
| 604 | + * @return string |
|
| 605 | + */ |
|
| 597 | 606 | public function render(Render $render = null) |
| 598 | 607 | { |
| 599 | 608 | if ($render === null) { |
@@ -140,7 +140,7 @@ discard block |
||
| 140 | 140 | * |
| 141 | 141 | * @param $key |
| 142 | 142 | * @param int $step |
| 143 | - * @return mixed new value |
|
| 143 | + * @return integer new value |
|
| 144 | 144 | * |
| 145 | 145 | * @author dp <[email protected]> |
| 146 | 146 | * |
@@ -157,7 +157,7 @@ discard block |
||
| 157 | 157 | * |
| 158 | 158 | * @param $key |
| 159 | 159 | * @param int $step |
| 160 | - * @return mixed new value |
|
| 160 | + * @return integer new value |
|
| 161 | 161 | * |
| 162 | 162 | * @author dp <[email protected]> |
| 163 | 163 | * |