@@ -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 | abstract public function getElement($name); |
@@ -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) |
@@ -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 | { |
@@ -68,8 +68,8 @@ |
||
68 | 68 | } |
69 | 69 | |
70 | 70 | /** |
71 | - * @param ACL_Resource $parent |
|
72 | - * @return ACL_Resource |
|
71 | + * @param Resource $parent |
|
72 | + * @return Resource |
|
73 | 73 | */ |
74 | 74 | public function setParent(Resource $parent) |
75 | 75 | { |
@@ -34,7 +34,6 @@ discard block |
||
34 | 34 | /** |
35 | 35 | * Recursively builds parents path to passed resource |
36 | 36 | * |
37 | - * @param ACL_Resource|bool $page |
|
38 | 37 | * @param array $return |
39 | 38 | * @return array |
40 | 39 | */ |
@@ -52,7 +51,7 @@ discard block |
||
52 | 51 | /** |
53 | 52 | * Singleton |
54 | 53 | * |
55 | - * @return ACL_Resources |
|
54 | + * @return Resources |
|
56 | 55 | */ |
57 | 56 | public static function instance() |
58 | 57 | { |
@@ -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()) { |
@@ -50,7 +50,7 @@ |
||
50 | 50 | |
51 | 51 | <p> |
52 | 52 | <?php |
53 | - echo $this->Messages()->$messageType($model->getManager()->getMessage('confirm.'.$model->status)); ?> |
|
53 | + echo $this->Messages()->$messageType($model->getManager()->getMessage('confirm.' . $model->status)); ?> |
|
54 | 54 | </p> |
55 | 55 | <?php |
56 | 56 | } else { |