Completed
Push — master ( fae909...115b25 )
by Gabriel
02:29 queued 20s
created
src/Controllers/Traits/PurchaseControllerTrait.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -54,7 +54,7 @@  discard block
 block discarded – undo
54 54
     }
55 55
 
56 56
     /**
57
-     * @return CompletePurchaseResponseTrait|ConfirmHtmlTrait
57
+     * @return CompletePurchaseResponseTrait
58 58
      */
59 59
     protected function getConfirmActionResponse()
60 60
     {
@@ -102,7 +102,7 @@  discard block
 block discarded – undo
102 102
     }
103 103
 
104 104
     /**
105
-     * @return AbstractResponse|HasModelProcessedResponse
105
+     * @return AbstractResponse
106 106
      */
107 107
     protected function getIpnActionResponse()
108 108
     {
Please login to merge, or discard this patch.
src/Gateways/Manager.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -95,7 +95,7 @@  discard block
 block discarded – undo
95 95
     /**
96 96
      * Get a list of supported gateways which may be available
97 97
      *
98
-     * @return array
98
+     * @return string[]
99 99
      */
100 100
     public static function getSupportedGateways()
101 101
     {
@@ -124,7 +124,7 @@  discard block
 block discarded – undo
124 124
     }
125 125
 
126 126
     /**
127
-     * @param $type
127
+     * @param string $type
128 128
      * @param array $params
129 129
      * @param bool $language
130 130
      * @return string
@@ -135,7 +135,7 @@  discard block
 block discarded – undo
135 135
     }
136 136
 
137 137
     /**
138
-     * @param $name
138
+     * @param string $name
139 139
      * @param array $params
140 140
      * @param bool $language
141 141
      * @return string
Please login to merge, or discard this patch.
src/Gateways/Providers/AbstractGateway/Form.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -164,7 +164,7 @@
 block discarded – undo
164 164
 
165 165
     /**
166 166
      * @param $arguments
167
-     * @return mixed
167
+     * @return string
168 168
      */
169 169
     protected function getElementNameFromMagicMethodArguments($arguments)
170 170
     {
Please login to merge, or discard this patch.
src/Gateways/Providers/AbstractGateway/Message/Traits/HasModelRequest.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -64,7 +64,7 @@  discard block
 block discarded – undo
64 64
 
65 65
     /**
66 66
      * Returns ID if it has it
67
-     * @return int
67
+     * @return boolean
68 68
      */
69 69
     public function getModelIdFromRequest()
70 70
     {
@@ -143,8 +143,8 @@  discard block
 block discarded – undo
143 143
     }
144 144
 
145 145
     /**
146
-     * @param $field
147
-     * @param $value
146
+     * @param string $field
147
+     * @param integer $value
148 148
      * @return IsPurchasableModelTrait
149 149
      */
150 150
     protected function findModelByField($field, $value)
@@ -183,7 +183,7 @@  discard block
 block discarded – undo
183 183
     }
184 184
 
185 185
     /**
186
-     * @return mixed
186
+     * @return IsPurchasableModelTrait
187 187
      */
188 188
     protected function getModel()
189 189
     {
Please login to merge, or discard this patch.
src/Gateways/Providers/AbstractGateway/Traits/GatewayTrait.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -54,7 +54,7 @@  discard block
 block discarded – undo
54 54
     }
55 55
 
56 56
     /**
57
-     * @param $request
57
+     * @param string $request
58 58
      * @param array $parameters
59 59
      * @return null|RequestInterface
60 60
      */
@@ -134,7 +134,7 @@  discard block
 block discarded – undo
134 134
     // ------------ GETTERS & SETTERS ------------ //
135 135
 
136 136
     /**
137
-     * @param null $name
137
+     * @param string $name
138 138
      */
139 139
     public function setName($name)
140 140
     {
Please login to merge, or discard this patch.
src/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.
src/Models/Methods/Types/CreditCards.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@
 block discarded – undo
17 17
     use HasGatewaysTrait;
18 18
 
19 19
     /**
20
-     * @return bool|string
20
+     * @return string|false
21 21
      */
22 22
     public function getEntryDescription()
23 23
     {
Please login to merge, or discard this patch.
src/Models/Purchase/Traits/IsPurchasableModelTrait.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,6 @@
 block discarded – undo
3 3
 namespace ByTIC\Payments\Models\Purchase\Traits;
4 4
 
5 5
 use ByTIC\Common\Records\Records;
6
-use ByTIC\Payments\Models\BillingRecord\Traits\RecordTrait as BillingRecord;
7 6
 use ByTIC\Payments\Models\BillingRecord\Traits\RecordTrait as BillingRecordTrait;
8 7
 use ByTIC\Payments\Models\Methods\Traits\RecordTrait;
9 8
 use Exception;
Please login to merge, or discard this patch.
src/Forms/Traits/PaymentMethodFormTrait.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -98,7 +98,7 @@  discard block
 block discarded – undo
98 98
     }
99 99
 
100 100
     /**
101
-     * @param null $paymentGatewaysManager
101
+     * @param GatewaysManager $paymentGatewaysManager
102 102
      */
103 103
     public function setPaymentGatewaysManager($paymentGatewaysManager)
104 104
     {
@@ -164,7 +164,7 @@  discard block
 block discarded – undo
164 164
     }
165 165
 
166 166
     /**
167
-     * @param $name
167
+     * @param string $name
168 168
      * @return FormElementAbstract
169 169
      */
170 170
     abstract public function getElement($name);
Please login to merge, or discard this patch.