@@ -63,6 +63,8 @@ discard block |
||
63 | 63 | /** |
64 | 64 | * *#@+ |
65 | 65 | * Xoops Write Licence System Key |
66 | + * @param string $system_key |
|
67 | + * @param string $licensefile |
|
66 | 68 | */ |
67 | 69 | public function xoops_putLicenseKey($system_key, $licensefile, $license_file_dist = 'license.dist.php') |
68 | 70 | { |
@@ -136,6 +138,7 @@ discard block |
||
136 | 138 | /** |
137 | 139 | * *#@+ |
138 | 140 | * Xoops Stripe Licence System Key |
141 | + * @param string $xoops_key |
|
139 | 142 | */ |
140 | 143 | public function xoops_stripeKey($xoops_key) |
141 | 144 | { |
@@ -70,6 +70,8 @@ discard block |
||
70 | 70 | /** |
71 | 71 | * *#@+ |
72 | 72 | * Xoops Write Licence System Key |
73 | + * @param string $public_key |
|
74 | + * @param string $licensefile |
|
73 | 75 | */ |
74 | 76 | public function xoops_upgradeLicenseKey($public_key, $licensefile, $license_file_dist = 'license.dist.php') |
75 | 77 | { |
@@ -94,6 +96,8 @@ discard block |
||
94 | 96 | /** |
95 | 97 | * *#@+ |
96 | 98 | * Xoops Write Licence System Key |
99 | + * @param string $system_key |
|
100 | + * @param string $licensefile |
|
97 | 101 | */ |
98 | 102 | public function xoops_putLicenseKey($system_key, $licensefile, $license_file_dist = 'license.dist.php') |
99 | 103 | { |
@@ -209,6 +213,7 @@ discard block |
||
209 | 213 | /** |
210 | 214 | * *#@+ |
211 | 215 | * Xoops Stripe Licence System Key |
216 | + * @param string $xoops_key |
|
212 | 217 | */ |
213 | 218 | public function xoops_stripeKey($xoops_key, $num = 6, $length = 30, $uu = 0) |
214 | 219 | { |
@@ -80,7 +80,7 @@ |
||
80 | 80 | /** |
81 | 81 | * Check imptotal |
82 | 82 | * |
83 | - * @return bool |
|
83 | + * @return boolean|null |
|
84 | 84 | */ |
85 | 85 | public function check_imptotal() |
86 | 86 | { |
@@ -1,8 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | 3 | use Xmf\Database\Tables; |
4 | -use Xmf\Key\Basic; |
|
5 | -use Xmf\Key\FileStorage; |
|
6 | 4 | |
7 | 5 | /** |
8 | 6 | * Upgrade from 2.5.7 to 2.5.8 |
@@ -98,7 +98,7 @@ |
||
98 | 98 | * Get Object |
99 | 99 | * |
100 | 100 | * @param int $id |
101 | - * @return object |
|
101 | + * @return null|XoopsRank |
|
102 | 102 | */ |
103 | 103 | public function get($id = 0) |
104 | 104 | { |
@@ -110,7 +110,7 @@ discard block |
||
110 | 110 | * @param string $sourceName template file name |
111 | 111 | * @param string $fileName configuration file name |
112 | 112 | * |
113 | - * @return true|string true on success, error message on failure |
|
113 | + * @return string|boolean true on success, error message on failure |
|
114 | 114 | */ |
115 | 115 | function writeConfigurationFile($vars, $path, $sourceName, $fileName) |
116 | 116 | { |
@@ -153,7 +153,7 @@ discard block |
||
153 | 153 | * |
154 | 154 | * @param string $filename file or directory name |
155 | 155 | * |
156 | - * @return array|false false on error, or array of file stat information |
|
156 | + * @return string false on error, or array of file stat information |
|
157 | 157 | */ |
158 | 158 | function getStats($filename) |
159 | 159 | { |
@@ -698,6 +698,9 @@ discard block |
||
698 | 698 | Output: |
699 | 699 | \*======================================================================*/ |
700 | 700 | |
701 | + /** |
|
702 | + * @param string $http_method |
|
703 | + */ |
|
701 | 704 | function _httprequest($url, $fp, $URI, $http_method, $content_type = "", $body = "") |
702 | 705 | { |
703 | 706 | $cookie_headers = ''; |
@@ -873,6 +876,9 @@ discard block |
||
873 | 876 | Output: |
874 | 877 | \*======================================================================*/ |
875 | 878 | |
879 | + /** |
|
880 | + * @param string $http_method |
|
881 | + */ |
|
876 | 882 | function _httpsrequest($url, $URI, $http_method, $content_type = "", $body = "") |
877 | 883 | { |
878 | 884 | if ($this->passcookies && $this->_redirectaddr) |
@@ -1106,6 +1112,10 @@ discard block |
||
1106 | 1112 | Output: post body |
1107 | 1113 | \*======================================================================*/ |
1108 | 1114 | |
1115 | + /** |
|
1116 | + * @param string $formvars |
|
1117 | + * @param string $formfiles |
|
1118 | + */ |
|
1109 | 1119 | function _prepare_post_body($formvars, $formfiles) |
1110 | 1120 | { |
1111 | 1121 | settype($formvars, "array"); |
@@ -39,7 +39,6 @@ |
||
39 | 39 | /** |
40 | 40 | * Parses a numeric or string representation of a corrdinate into a structure |
41 | 41 | * |
42 | - * @param string $coord Smart coordinate |
|
43 | 42 | * @return array Parsed smart coordinate |
44 | 43 | */ |
45 | 44 | public static function parse($c) |
@@ -34,6 +34,12 @@ |
||
34 | 34 | public $color; |
35 | 35 | public $handle; |
36 | 36 | |
37 | + /** |
|
38 | + * @param string $file |
|
39 | + * @param integer $size |
|
40 | + * @param integer $color |
|
41 | + * @param integer $bgcolor |
|
42 | + */ |
|
37 | 43 | public function __construct($file, $size, $color, $bgcolor = null) |
38 | 44 | { |
39 | 45 | $this->handle = imagepsloadfont($file); |