@@ -82,7 +82,7 @@ discard block |
||
| 82 | 82 | } |
| 83 | 83 | |
| 84 | 84 | /** |
| 85 | - * @return bool |
|
| 85 | + * @return boolean|null |
|
| 86 | 86 | */ |
| 87 | 87 | protected function decodeRequestData() |
| 88 | 88 | { |
@@ -159,7 +159,7 @@ discard block |
||
| 159 | 159 | } |
| 160 | 160 | |
| 161 | 161 | /** @noinspection PhpMissingParentCallCommonInspection |
| 162 | - * @return mixed |
|
| 162 | + * @return boolean |
|
| 163 | 163 | */ |
| 164 | 164 | protected function isProviderRequest() |
| 165 | 165 | { |
@@ -110,7 +110,7 @@ discard block |
||
| 110 | 110 | } |
| 111 | 111 | |
| 112 | 112 | /** |
| 113 | - * @return EmailTrait |
|
| 113 | + * @return Record |
|
| 114 | 114 | */ |
| 115 | 115 | protected function newBlankEmail() |
| 116 | 116 | { |
@@ -124,7 +124,7 @@ discard block |
||
| 124 | 124 | |
| 125 | 125 | /** |
| 126 | 126 | * @param EmailTrait $email |
| 127 | - * @return mixed |
|
| 127 | + * @return EmailTrait |
|
| 128 | 128 | */ |
| 129 | 129 | protected function hydrateEmail($email) |
| 130 | 130 | { |
@@ -145,7 +145,7 @@ discard block |
||
| 145 | 145 | } |
| 146 | 146 | |
| 147 | 147 | /** |
| 148 | - * @return \Record |
|
| 148 | + * @return Record |
|
| 149 | 149 | */ |
| 150 | 150 | public function getItem() |
| 151 | 151 | { |
@@ -153,7 +153,7 @@ discard block |
||
| 153 | 153 | } |
| 154 | 154 | |
| 155 | 155 | /** |
| 156 | - * @param Record|BuilderAwareTrait $item |
|
| 156 | + * @param BuilderAwareTrait $item |
|
| 157 | 157 | * @return $this |
| 158 | 158 | */ |
| 159 | 159 | public function setItem($item) |
@@ -210,7 +210,7 @@ |
||
| 210 | 210 | } |
| 211 | 211 | |
| 212 | 212 | /** |
| 213 | - * @param null $value |
|
| 213 | + * @param string $value |
|
| 214 | 214 | * @return bool |
| 215 | 215 | */ |
| 216 | 216 | public function IsHTML($value = null) |
@@ -36,7 +36,7 @@ discard block |
||
| 36 | 36 | } |
| 37 | 37 | |
| 38 | 38 | /** |
| 39 | - * @return mixed |
|
| 39 | + * @return null|string |
|
| 40 | 40 | */ |
| 41 | 41 | public function getTypeValue() |
| 42 | 42 | { |
@@ -133,7 +133,7 @@ discard block |
||
| 133 | 133 | |
| 134 | 134 | /** |
| 135 | 135 | * @param FPDI $pdf |
| 136 | - * @param $value |
|
| 136 | + * @param null|string $value |
|
| 137 | 137 | * @return int|string |
| 138 | 138 | */ |
| 139 | 139 | protected function pdfXPosition($pdf, $value) |
@@ -158,7 +158,7 @@ discard block |
||
| 158 | 158 | |
| 159 | 159 | /** |
| 160 | 160 | * @param FPDI $pdf |
| 161 | - * @param $value |
|
| 161 | + * @param null|string $value |
|
| 162 | 162 | * @return int|string |
| 163 | 163 | */ |
| 164 | 164 | protected function pdfYPosition($pdf, $value) |
@@ -15,7 +15,7 @@ |
||
| 15 | 15 | { |
| 16 | 16 | |
| 17 | 17 | /** |
| 18 | - * @param $model |
|
| 18 | + * @param \ByTIC\Common\Records\Record $model |
|
| 19 | 19 | * @return null |
| 20 | 20 | */ |
| 21 | 21 | public function getValue($model) |
@@ -87,7 +87,7 @@ |
||
| 87 | 87 | abstract public function getModelExample(); |
| 88 | 88 | |
| 89 | 89 | /** |
| 90 | - * @param $model |
|
| 90 | + * @param Record $model |
|
| 91 | 91 | */ |
| 92 | 92 | public function download($model) |
| 93 | 93 | { |
@@ -232,7 +232,7 @@ |
||
| 232 | 232 | } |
| 233 | 233 | |
| 234 | 234 | /** |
| 235 | - * @return bool|mixed |
|
| 235 | + * @return null|false |
|
| 236 | 236 | */ |
| 237 | 237 | public function update() |
| 238 | 238 | { |
@@ -42,7 +42,7 @@ discard block |
||
| 42 | 42 | protected $defaultValue = null; |
| 43 | 43 | |
| 44 | 44 | /** |
| 45 | - * @param $name |
|
| 45 | + * @param string $name |
|
| 46 | 46 | * @return Property |
| 47 | 47 | * @throws Exception |
| 48 | 48 | */ |
@@ -106,7 +106,7 @@ discard block |
||
| 106 | 106 | } |
| 107 | 107 | |
| 108 | 108 | /** |
| 109 | - * @return mixed |
|
| 109 | + * @return string |
|
| 110 | 110 | */ |
| 111 | 111 | public function getName() |
| 112 | 112 | { |
@@ -132,7 +132,7 @@ discard block |
||
| 132 | 132 | } |
| 133 | 133 | |
| 134 | 134 | /** |
| 135 | - * @return mixed |
|
| 135 | + * @return string |
|
| 136 | 136 | */ |
| 137 | 137 | public function getField() |
| 138 | 138 | { |
@@ -156,7 +156,7 @@ discard block |
||
| 156 | 156 | } |
| 157 | 157 | |
| 158 | 158 | /** |
| 159 | - * @param RecordManager|RecordsTrait $manager |
|
| 159 | + * @param RecordsTrait $manager |
|
| 160 | 160 | */ |
| 161 | 161 | public function setManager($manager) |
| 162 | 162 | { |
@@ -282,7 +282,7 @@ discard block |
||
| 282 | 282 | } |
| 283 | 283 | |
| 284 | 284 | /** |
| 285 | - * @param null $type |
|
| 285 | + * @param string|null $type |
|
| 286 | 286 | * @return string |
| 287 | 287 | */ |
| 288 | 288 | public function getItemClass($type = null) |
@@ -61,7 +61,7 @@ discard block |
||
| 61 | 61 | } |
| 62 | 62 | |
| 63 | 63 | /** |
| 64 | - * @param $action |
|
| 64 | + * @param string $action |
|
| 65 | 65 | * @param array $params |
| 66 | 66 | * @param null $module |
| 67 | 67 | * @return mixed |
@@ -122,7 +122,7 @@ discard block |
||
| 122 | 122 | } |
| 123 | 123 | |
| 124 | 124 | /** |
| 125 | - * @return mixed |
|
| 125 | + * @return string |
|
| 126 | 126 | */ |
| 127 | 127 | public function getName() |
| 128 | 128 | { |