Completed
Push — master ( 77e87d...17f8d0 )
by Harald
04:52
created
catalog/includes/OSC/OM/Db.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -69,6 +69,9 @@  discard block
 block discarded – undo
69 69
         return parent::exec($statement);
70 70
     }
71 71
 
72
+    /**
73
+     * @param string $statement
74
+     */
72 75
     public function prepare($statement, $driver_options = null)
73 76
     {
74 77
         $statement = $this->autoPrefixTables($statement);
@@ -80,6 +83,9 @@  discard block
 block discarded – undo
80 83
         return $DbStatement;
81 84
     }
82 85
 
86
+    /**
87
+     * @param string $statement
88
+     */
83 89
     public function query($statement)
84 90
     {
85 91
         $statement = $this->autoPrefixTables($statement);
Please login to merge, or discard this patch.
catalog/includes/OSC/OM/DbStatement.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -32,6 +32,9 @@
 block discarded – undo
32 32
         return parent::bindValue($parameter, $value, $data_type);
33 33
     }
34 34
 
35
+    /**
36
+     * @param string $parameter
37
+     */
35 38
     public function bindInt($parameter, $value)
36 39
     {
37 40
 // force type to int (see http://bugs.php.net/bug.php?id=44639)
Please login to merge, or discard this patch.
catalog/includes/OSC/OM/HTML.php 1 patch
Doc Comments   +13 added lines patch added patch discarded remove patch
@@ -99,6 +99,10 @@  discard block
 block discarded – undo
99 99
         return $image;
100 100
     }
101 101
 
102
+    /**
103
+     * @param string $name
104
+     * @param string $action
105
+     */
102 106
     public static function form($name, $action, $method = 'post', $parameters = '', array $flags = [])
103 107
     {
104 108
         if (!isset($flags['tokenize']) || !is_bool($flags['tokenize'])) {
@@ -166,6 +170,9 @@  discard block
 block discarded – undo
166 170
         return static::inputField($name, $value, $parameters, 'password', false);
167 171
     }
168 172
 
173
+    /**
174
+     * @param string $type
175
+     */
169 176
     protected static function selectionField($name, $type, $value = '', $checked = false, $parameters = '')
170 177
     {
171 178
         $selection = '<input type="' . static::output($type) . '" name="' . static::output($name) . '"';
@@ -187,6 +194,9 @@  discard block
 block discarded – undo
187 194
         return $selection;
188 195
     }
189 196
 
197
+    /**
198
+     * @param string $name
199
+     */
190 200
     public static function checkboxField($name, $value = '', $checked = false, $parameters = '')
191 201
     {
192 202
         return static::selectionField($name, 'checkbox', $value, $checked, $parameters);
@@ -197,6 +207,9 @@  discard block
 block discarded – undo
197 207
         return static::selectionField($name, 'radio', $value, $checked, $parameters);
198 208
     }
199 209
 
210
+    /**
211
+     * @param string $name
212
+     */
200 213
     public static function textareaField($name, $width, $height, $text = '', $parameters = '', $reinsert_value = true, $class = 'form-control')
201 214
     {
202 215
         $field = '<textarea name="' . static::output($name) . '" cols="' . static::output($width) . '" rows="' . static::output($height) . '"';
Please login to merge, or discard this patch.
catalog/includes/OSC/OM/OSCOM.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -78,6 +78,9 @@
 block discarded – undo
78 78
         return Registry::get('Site')->getPage()->isRPC();
79 79
     }
80 80
 
81
+    /**
82
+     * @param string $parameters
83
+     */
81 84
     public static function link($page, $parameters = null, $connection = 'NONSSL', $add_session_id = true, $search_engine_safe = true)
82 85
     {
83 86
         global $request_type;
Please login to merge, or discard this patch.
catalog/includes/OSC/OM/PagesAbstract.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -81,6 +81,9 @@
 block discarded – undo
81 81
         }
82 82
     }
83 83
 
84
+    /**
85
+     * @param string $action
86
+     */
84 87
     public function actionExists($action)
85 88
     {
86 89
         if (class_exists($action)) {
Please login to merge, or discard this patch.
catalog/includes/OSC/OM/Registry.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -12,6 +12,9 @@  discard block
 block discarded – undo
12 12
 {
13 13
     private static $data = [];
14 14
 
15
+    /**
16
+     * @param string $key
17
+     */
15 18
     public static function get($key)
16 19
     {
17 20
         if (!static::exists($key)) {
@@ -23,6 +26,9 @@  discard block
 block discarded – undo
23 26
         return static::$data[$key];
24 27
     }
25 28
 
29
+    /**
30
+     * @param string $key
31
+     */
26 32
     public static function set($key, $value, $force = false)
27 33
     {
28 34
         if (!is_object($value)) {
Please login to merge, or discard this patch.
catalog/admin/includes/classes/email.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -81,6 +81,7 @@  discard block
 block discarded – undo
81 81
  * it. This can then be given as the first
82 82
  * argument of the the functions
83 83
  * add_html_image() or add_attachment().
84
+ * @param string $filename
84 85
  */
85 86
 
86 87
     function get_file($filename) {
@@ -151,6 +152,7 @@  discard block
 block discarded – undo
151 152
  * Adds a html part to the mail.
152 153
  * Also replaces image names with
153 154
  * content-id's.
155
+ * @param string $text
154 156
  */
155 157
 
156 158
     function add_html($html, $text = NULL, $images_dir = NULL) {
@@ -163,6 +165,7 @@  discard block
 block discarded – undo
163 165
 /**
164 166
  * Adds an image to the list of embedded
165 167
  * images.
168
+ * @param string $file
166 169
  */
167 170
 
168 171
     function add_html_image($file, $name = '', $c_type='application/octet-stream') {
@@ -227,6 +230,7 @@  discard block
 block discarded – undo
227 230
 
228 231
 /**
229 232
  * Adds an alternative part to a mime_part object
233
+ * @param null|mime $obj
230 234
  */
231 235
 
232 236
     function add_alternative_part(&$obj) {
Please login to merge, or discard this patch.
catalog/admin/includes/classes/mime.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -145,7 +145,7 @@
 block discarded – undo
145 145
  * @param $body   The body of the subpart, if any.
146 146
  * @param $params The parameters for the subpart, same
147 147
  *                as the $params argument for constructor.
148
- * @return A reference to the part you just added. It is
148
+ * @return mime reference to the part you just added. It is
149 149
  *         crucial if using multipart/* in your subparts that
150 150
  *         you use =& in your script when calling this function,
151 151
  *         otherwise you will not be able to add further subparts.
Please login to merge, or discard this patch.
catalog/admin/includes/classes/passwordhash.php 1 patch
Doc Comments   +16 added lines patch added patch discarded remove patch
@@ -35,6 +35,10 @@  discard block
 block discarded – undo
35 35
 	var $portable_hashes;
36 36
 	var $random_state;
37 37
 
38
+	/**
39
+	 * @param integer $iteration_count_log2
40
+	 * @param boolean $portable_hashes
41
+	 */
38 42
 	function PasswordHash($iteration_count_log2, $portable_hashes)
39 43
 	{
40 44
 		$this->itoa64 = './0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz';
@@ -84,6 +88,9 @@  discard block
 block discarded – undo
84 88
 		return $output;
85 89
 	}
86 90
 
91
+	/**
92
+	 * @param integer $count
93
+	 */
87 94
 	function encode64($input, $count)
88 95
 	{
89 96
 		$output = '';
@@ -107,6 +114,9 @@  discard block
 block discarded – undo
107 114
 		return $output;
108 115
 	}
109 116
 
117
+	/**
118
+	 * @param string $input
119
+	 */
110 120
 	function gensalt_private($input)
111 121
 	{
112 122
 		$output = '$P$';
@@ -155,6 +165,9 @@  discard block
 block discarded – undo
155 165
 		return $output;
156 166
 	}
157 167
 
168
+	/**
169
+	 * @param string $input
170
+	 */
158 171
 	function gensalt_extended($input)
159 172
 	{
160 173
 		$count_log2 = min($this->iteration_count_log2 + 8, 24);
@@ -173,6 +186,9 @@  discard block
 block discarded – undo
173 186
 		return $output;
174 187
 	}
175 188
 
189
+	/**
190
+	 * @param string $input
191
+	 */
176 192
 	function gensalt_blowfish($input)
177 193
 	{
178 194
 		# This one needs to use a different order of characters and a
Please login to merge, or discard this patch.