@@ -113,6 +113,9 @@ |
||
| 113 | 113 | } |
| 114 | 114 | } |
| 115 | 115 | |
| 116 | + /** |
|
| 117 | + * @param string $nodeName |
|
| 118 | + */ |
|
| 116 | 119 | public function createXmlElement(DOMDocument $xmlDoc, $nodeName) |
| 117 | 120 | { |
| 118 | 121 | if (!($xmlDoc instanceof DOMDocument)) { |
@@ -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 | public 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 | public function setPricesCurrency($pricesCurrency = 'RON') |
| 845 | 845 | { |
@@ -1325,7 +1325,7 @@ discard block |
||
| 1325 | 1325 | * createHiddenField |
| 1326 | 1326 | * |
| 1327 | 1327 | * @access private |
| 1328 | - * @param $fieldName string name/id of the hidden field in html code |
|
| 1328 | + * @param string $fieldName string name/id of the hidden field in html code |
|
| 1329 | 1329 | * @param $fieldValue string field/fields value/values |
| 1330 | 1330 | * @param $isArray bool specifies if it should generate an array or not |
| 1331 | 1331 | * @return string output html code |
@@ -1356,6 +1356,7 @@ discard block |
||
| 1356 | 1356 | * |
| 1357 | 1357 | * @param $array string secret key |
| 1358 | 1358 | * @param @data string the source string that will be converted into hmac hash |
| 1359 | + * @param string $data |
|
| 1359 | 1360 | * @return string hmac hash |
| 1360 | 1361 | */ |
| 1361 | 1362 | public function hmac($data) |
@@ -73,7 +73,7 @@ |
||
| 73 | 73 | } |
| 74 | 74 | |
| 75 | 75 | /** |
| 76 | - * @param $data |
|
| 76 | + * @param string $data |
|
| 77 | 77 | * @return string |
| 78 | 78 | */ |
| 79 | 79 | protected function generateHmac($data) |
@@ -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 getImageSize($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 | { |
@@ -8,7 +8,7 @@ |
||
| 8 | 8 | { |
| 9 | 9 | |
| 10 | 10 | /** |
| 11 | - * @return self |
|
| 11 | + * @return \Nip\Records\AbstractModels\Record |
|
| 12 | 12 | */ |
| 13 | 13 | public function getCurrent() |
| 14 | 14 | { |
@@ -71,6 +71,9 @@ |
||
| 71 | 71 | } |
| 72 | 72 | } |
| 73 | 73 | |
| 74 | + /** |
|
| 75 | + * @param string $name |
|
| 76 | + */ |
|
| 74 | 77 | public static function nameTransaction($name) |
| 75 | 78 | { |
| 76 | 79 | if (self::isLoaded()) { |