@@ -121,7 +121,7 @@ |
||
| 121 | 121 | } |
| 122 | 122 | |
| 123 | 123 | /** |
| 124 | - * @return mixed |
|
| 124 | + * @return Sms |
|
| 125 | 125 | */ |
| 126 | 126 | protected function prepare() |
| 127 | 127 | { |
@@ -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) |
@@ -82,7 +82,7 @@ discard block |
||
| 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 |
||
| 159 | 159 | } |
| 160 | 160 | |
| 161 | 161 | /** @noinspection PhpMissingParentCallCommonInspection |
| 162 | - * @return mixed |
|
| 162 | + * @return boolean |
|
| 163 | 163 | */ |
| 164 | 164 | protected function isProviderRequest() |
| 165 | 165 | { |
@@ -798,7 +798,7 @@ discard block |
||
| 798 | 798 | * |
| 799 | 799 | * @access public |
| 800 | 800 | * @param $pricesCurrency string[3] |
| 801 | - * @return true |
|
| 801 | + * @return boolean |
|
| 802 | 802 | */ |
| 803 | 803 | function setCurrency($pricesCurrency = 'RON') |
| 804 | 804 | { |
@@ -839,7 +839,7 @@ discard block |
||
| 839 | 839 | * |
| 840 | 840 | * @access public |
| 841 | 841 | * @param $pricesCurrency string[3] |
| 842 | - * @return true |
|
| 842 | + * @return boolean |
|
| 843 | 843 | */ |
| 844 | 844 | function setPricesCurrency($pricesCurrency = 'RON') |
| 845 | 845 | { |
@@ -1326,7 +1326,7 @@ discard block |
||
| 1326 | 1326 | * createHiddenField |
| 1327 | 1327 | * |
| 1328 | 1328 | * @access private |
| 1329 | - * @param $fieldName string name/id of the hidden field in html code |
|
| 1329 | + * @param string $fieldName string name/id of the hidden field in html code |
|
| 1330 | 1330 | * @param $fieldValue string field/fields value/values |
| 1331 | 1331 | * @param $isArray bool specifies if it should generate an array or not |
| 1332 | 1332 | * @return string output html code |
@@ -1357,6 +1357,7 @@ discard block |
||
| 1357 | 1357 | * |
| 1358 | 1358 | * @param $array string secret key |
| 1359 | 1359 | * @param @data string the source string that will be converted into hmac hash |
| 1360 | + * @param string $data |
|
| 1360 | 1361 | * @return string hmac hash |
| 1361 | 1362 | */ |
| 1362 | 1363 | function hmac($data) |
@@ -54,7 +54,7 @@ |
||
| 54 | 54 | } |
| 55 | 55 | |
| 56 | 56 | /** |
| 57 | - * @param $data |
|
| 57 | + * @param string $data |
|
| 58 | 58 | * @return string |
| 59 | 59 | */ |
| 60 | 60 | protected function generateHmac($data) |
@@ -175,6 +175,10 @@ |
||
| 175 | 175 | return $this->_hash($key, $str); |
| 176 | 176 | } |
| 177 | 177 | |
| 178 | + /** |
|
| 179 | + * @param string $key |
|
| 180 | + * @param null|string $data |
|
| 181 | + */ |
|
| 178 | 182 | private function _hash($key, $data) |
| 179 | 183 | { |
| 180 | 184 | $blocksize = 64; |
@@ -110,7 +110,7 @@ discard block |
||
| 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 |
||
| 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 |
||
| 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 |
||
| 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) |
@@ -210,7 +210,7 @@ |
||
| 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) |
@@ -30,7 +30,7 @@ discard block |
||
| 30 | 30 | } |
| 31 | 31 | |
| 32 | 32 | /** |
| 33 | - * @param $type |
|
| 33 | + * @param string $type |
|
| 34 | 34 | * @return $this |
| 35 | 35 | */ |
| 36 | 36 | public function getType($type) |
@@ -72,7 +72,7 @@ discard block |
||
| 72 | 72 | |
| 73 | 73 | /** |
| 74 | 74 | * @param string $path |
| 75 | - * @return bool |
|
| 75 | + * @return Model |
|
| 76 | 76 | */ |
| 77 | 77 | public function setResourceFromFile($path) |
| 78 | 78 | { |
@@ -131,7 +131,7 @@ discard block |
||
| 131 | 131 | } |
| 132 | 132 | |
| 133 | 133 | /** |
| 134 | - * @return bool |
|
| 134 | + * @return Model |
|
| 135 | 135 | */ |
| 136 | 136 | public function save() |
| 137 | 137 | { |