Test Failed
Push — master ( 50ebf9...195aca )
by Gabriel
12:00 queued 12s
created
src/PdfLetters/Controllers/AdminPdfLetterControllerTrait.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -118,7 +118,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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)
Please login to merge, or discard this patch.
src/PdfLetters/Fields/FieldTrait.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -36,7 +36,7 @@
 block discarded – undo
36 36
     }
37 37
 
38 38
     /**
39
-     * @return mixed
39
+     * @return null|string
40 40
      */
41 41
     public function getTypeValue()
42 42
     {
Please login to merge, or discard this patch.
src/PdfLetters/Fields/Types/AbstractType.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@
 block discarded – undo
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)
Please login to merge, or discard this patch.
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -3,8 +3,6 @@
 block discarded – undo
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
Please login to merge, or discard this patch.
src/PdfLetters/PdfLetterTrait.php 1 patch
Doc Comments   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -166,7 +166,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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)
Please login to merge, or discard this patch.