| @@ -54,7 +54,7 @@ discard block | ||
| 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 | ||
| 102 | 102 | } | 
| 103 | 103 | |
| 104 | 104 | /** | 
| 105 | - * @return AbstractResponse|HasModelProcessedResponse | |
| 105 | + * @return AbstractResponse | |
| 106 | 106 | */ | 
| 107 | 107 | protected function getIpnActionResponse() | 
| 108 | 108 |      { | 
| @@ -98,7 +98,7 @@ discard block | ||
| 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 | ||
| 164 | 164 | } | 
| 165 | 165 | |
| 166 | 166 | /** | 
| 167 | - * @param $name | |
| 167 | + * @param string $name | |
| 168 | 168 | * @return FormElementAbstract | 
| 169 | 169 | */ | 
| 170 | 170 | public abstract function getElement($name); | 
| @@ -95,7 +95,7 @@ discard block | ||
| 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 | ||
| 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 | ||
| 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 | 
| @@ -164,7 +164,7 @@ | ||
| 164 | 164 | |
| 165 | 165 | /** | 
| 166 | 166 | * @param $arguments | 
| 167 | - * @return mixed | |
| 167 | + * @return string | |
| 168 | 168 | */ | 
| 169 | 169 | protected function getElementNameFromMagicMethodArguments($arguments) | 
| 170 | 170 |      { | 
| @@ -64,7 +64,7 @@ discard block | ||
| 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 | ||
| 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 | ||
| 183 | 183 | } | 
| 184 | 184 | |
| 185 | 185 | /** | 
| 186 | - * @return mixed | |
| 186 | + * @return IsPurchasableModelTrait | |
| 187 | 187 | */ | 
| 188 | 188 | protected function getModel() | 
| 189 | 189 |      { | 
| @@ -54,7 +54,7 @@ discard block | ||
| 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 | ||
| 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 |      { | 
| @@ -93,7 +93,7 @@ | ||
| 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) | 
| @@ -17,7 +17,7 @@ | ||
| 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 |      { | 
| @@ -3,7 +3,6 @@ | ||
| 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; |