@@ -118,7 +118,7 @@ discard block |
||
118 | 118 | |
119 | 119 | /** |
120 | 120 | * @param Record $parent |
121 | - * @return mixed |
|
121 | + * @return null|string |
|
122 | 122 | */ |
123 | 123 | protected function getPdfLettersPageController($parent) |
124 | 124 | { |
@@ -126,7 +126,7 @@ discard block |
||
126 | 126 | } |
127 | 127 | |
128 | 128 | /** |
129 | - * @return mixed |
|
129 | + * @return PdfLetterTrait |
|
130 | 130 | */ |
131 | 131 | protected function viewCheckItem() |
132 | 132 | { |
@@ -139,8 +139,8 @@ discard block |
||
139 | 139 | } |
140 | 140 | |
141 | 141 | /** |
142 | - * @param $item |
|
143 | - * @param $type |
|
142 | + * @param Record $item |
|
143 | + * @param string $type |
|
144 | 144 | * @return PdfLetterTrait|Record |
145 | 145 | */ |
146 | 146 | protected function newPdfLetterRecordFromItemType($item, $type) |
@@ -36,7 +36,7 @@ |
||
36 | 36 | } |
37 | 37 | |
38 | 38 | /** |
39 | - * @return mixed |
|
39 | + * @return null|string |
|
40 | 40 | */ |
41 | 41 | public function getTypeValue() |
42 | 42 | { |
@@ -17,7 +17,7 @@ |
||
17 | 17 | use TextTypeTrait; |
18 | 18 | |
19 | 19 | /** |
20 | - * @param $model |
|
20 | + * @param Record $model |
|
21 | 21 | * @return null |
22 | 22 | */ |
23 | 23 | public function getValue($model) |
@@ -3,8 +3,6 @@ |
||
3 | 3 | namespace ByTIC\DocumentGenerator\PdfLetters\Fields\Types; |
4 | 4 | |
5 | 5 | use ByTIC\DocumentGenerator\PdfLetters\Fields\FieldTrait; |
6 | -use Nip\Records\Traits\AbstractTrait\RecordTrait as Record; |
|
7 | -use setasign\Fpdi\Tcpdf\Fpdi; |
|
8 | 6 | |
9 | 7 | /** |
10 | 8 | * Class AbstractType |
@@ -166,7 +166,7 @@ discard block |
||
166 | 166 | |
167 | 167 | /** |
168 | 168 | * @param $pdf |
169 | - * @param $model |
|
169 | + * @param AbstractRecordTrait $model |
|
170 | 170 | */ |
171 | 171 | protected function addFieldsToPDF($pdf, $model) |
172 | 172 | { |
@@ -206,6 +206,7 @@ discard block |
||
206 | 206 | |
207 | 207 | /** |
208 | 208 | * @param mixed ...$params |
209 | + * @param string $params |
|
209 | 210 | * @return Fpdi\Tcpdf\Fpdi |
210 | 211 | */ |
211 | 212 | public static function newPdfBuilder(...$params) |