GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.
Test Failed
Push — master ( 568bf9...e6a5de )
by Gabriel
03:08
created
src/Payments/Gateways/Providers/Mobilpay/Form.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -93,7 +93,7 @@
 block discarded – undo
93 93
     }
94 94
 
95 95
     /**
96
-     * @param $type
96
+     * @param string $type
97 97
      * @return MobilpayFile
98 98
      */
99 99
     public function getFileModel($type)
Please login to merge, or discard this patch.
Gateways/Providers/Mobilpay/Message/ServerCompletePurchaseRequest.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -82,7 +82,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
159 159
     }
160 160
 
161 161
     /** @noinspection PhpMissingParentCallCommonInspection
162
-     * @return mixed
162
+     * @return boolean
163 163
      */
164 164
     protected function isProviderRequest()
165 165
     {
Please login to merge, or discard this patch.
src/Payments/Models/Purchase/Traits/IsPurchasableModelTrait.php 2 patches
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -4,7 +4,6 @@
 block discarded – undo
4 4
 
5 5
 use ByTIC\Common\Payments\Gateways\Providers\AbstractGateway\Message\PurchaseRequest;
6 6
 use ByTIC\Common\Payments\Gateways\Providers\AbstractGateway\Message\RedirectResponse\RedirectTrait;
7
-use ByTIC\Common\Payments\Models\BillingRecord\Traits\RecordTrait as BillingRecord;
8 7
 use ByTIC\Common\Payments\Models\BillingRecord\Traits\RecordTrait as BillingRecordTrait;
9 8
 use ByTIC\Common\Payments\Models\Methods\Traits\RecordTrait;
10 9
 use ByTIC\Common\Records\Records;
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -97,7 +97,7 @@
 block discarded – undo
97 97
      */
98 98
     public function getConfirmStatusTitle()
99 99
     {
100
-        return $this->getManager()->getMessage('confirm.'.$this->getStatus()->getName());
100
+        return $this->getManager()->getMessage('confirm.' . $this->getStatus()->getName());
101 101
     }
102 102
 
103 103
     /**
Please login to merge, or discard this patch.
src/Records/Emails/Builder/AbstractBuilder.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -110,7 +110,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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)
Please login to merge, or discard this patch.
src/Records/Emails/EmailTrait.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -210,7 +210,7 @@
 block discarded – undo
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)
Please login to merge, or discard this patch.
src/Records/PdfLetters/Fields/FieldTrait.php 2 patches
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -36,7 +36,7 @@  discard block
 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
     {
@@ -133,7 +133,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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)
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -80,7 +80,7 @@
 block discarded – undo
80 80
             return $valueType;
81 81
         }
82 82
 
83
-        return '<<'.$this->field.'>>';
83
+        return '<<' . $this->field . '>>';
84 84
     }
85 85
 
86 86
     /**
Please login to merge, or discard this patch.
src/Records/PdfLetters/Fields/Types/AbstractType.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -15,7 +15,7 @@
 block discarded – undo
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)
Please login to merge, or discard this patch.
src/Records/PdfLetters/PdfLetterTrait.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -87,7 +87,7 @@
 block discarded – undo
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
     {
Please login to merge, or discard this patch.
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@  discard block
 block discarded – undo
32 32
      */
33 33
     public function getName()
34 34
     {
35
-        return $this->getManager()->getLabel('title.singular').' #'.$this->id;
35
+        return $this->getManager()->getLabel('title.singular') . ' #' . $this->id;
36 36
     }
37 37
 
38 38
     /**
@@ -51,7 +51,7 @@  discard block
 block discarded – undo
51 51
     public function getFile()
52 52
     {
53 53
         $file = $this->getNewFile();
54
-        $fileName = $this->getFileNameDefault().'.pdf';
54
+        $fileName = $this->getFileNameDefault() . '.pdf';
55 55
         $file->setName($fileName);
56 56
 
57 57
         return $file;
@@ -97,7 +97,7 @@  discard block
 block discarded – undo
97 97
             $this->pdfDrawGuidelines($pdf);
98 98
         }
99 99
 
100
-        $pdf->Output($this->getFileNameFromModel($model).'.pdf', 'D');
100
+        $pdf->Output($this->getFileNameFromModel($model) . '.pdf', 'D');
101 101
         die();
102 102
     }
103 103
 
@@ -151,8 +151,8 @@  discard block
 block discarded – undo
151 151
         header('Cache-Control: private, must-revalidate, post-check=0, pre-check=0, max-age=1');
152 152
         header('Pragma: public');
153 153
         header('Expires: Sat, 26 Jul 1997 05:00:00 GMT'); // Date in the past
154
-        header('Last-Modified: '.gmdate('D, d M Y H:i:s').' GMT');
155
-        header('Content-Disposition: attachment; filename="'.basename($file).'";');
154
+        header('Last-Modified: ' . gmdate('D, d M Y H:i:s') . ' GMT');
155
+        header('Content-Disposition: attachment; filename="' . basename($file) . '";');
156 156
         header("Content-Transfer-Encoding: Binary");
157 157
         readfile($file);
158 158
         die();
@@ -170,9 +170,9 @@  discard block
 block discarded – undo
170 170
         if ($model->demo === true) {
171 171
             $this->pdfDrawGuidelines($pdf);
172 172
         }
173
-        $fileName = $this->getFileNameFromModel($model).'.pdf';
173
+        $fileName = $this->getFileNameFromModel($model) . '.pdf';
174 174
         if (is_dir($directory)) {
175
-            return $pdf->Output($directory.$fileName, 'F');
175
+            return $pdf->Output($directory . $fileName, 'F');
176 176
         }
177 177
 
178 178
         return false;
Please login to merge, or discard this patch.
src/Records/Properties/AbstractProperty/Generic.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -232,7 +232,7 @@
 block discarded – undo
232 232
     }
233 233
 
234 234
     /**
235
-     * @return bool|mixed
235
+     * @return null|false
236 236
      */
237 237
     public function update()
238 238
     {
Please login to merge, or discard this patch.