Completed
Pull Request — master (#582)
by
unknown
11:36
created
catalog/includes/functions/banner.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -16,6 +16,9 @@  discard block
 block discarded – undo
16 16
 
17 17
 ////
18 18
 // Sets the status of a banner
19
+  /**
20
+   * @param integer $status
21
+   */
19 22
   function tep_set_banner_status($banners_id, $status) {
20 23
     $OSCOM_Db = Registry::get('Db');
21 24
 
@@ -106,6 +109,9 @@  discard block
 block discarded – undo
106 109
 
107 110
 ////
108 111
 // Check to see if a banner exists
112
+  /**
113
+   * @param string $action
114
+   */
109 115
   function tep_banner_exists($action, $identifier) {
110 116
     $OSCOM_Db = Registry::get('Db');
111 117
 
Please login to merge, or discard this patch.
catalog/includes/classes/osc_template.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -74,6 +74,10 @@
 block discarded – undo
74 74
       return $this->_code;
75 75
     }
76 76
 
77
+    /**
78
+     * @param string $block
79
+     * @param string $group
80
+     */
77 81
     function addBlock($block, $group) {
78 82
       $this->_blocks[$group][] = $block;
79 83
     }
Please login to merge, or discard this patch.
catalog/includes/OSC/OM/Mail.php 1 patch
Doc Comments   +18 added lines patch added patch discarded remove patch
@@ -24,6 +24,9 @@  discard block
 block discarded – undo
24 24
               $content_transfer_encoding = '7bit',
25 25
               $charset = 'utf-8';
26 26
 
27
+    /**
28
+     * @param string $subject
29
+     */
27 30
     public function __construct($to_email_address = null, $to = null, $from_email_address = null, $from = null, $subject = null)
28 31
     {
29 32
         if (!empty($to_email_address)) {
@@ -91,6 +94,9 @@  discard block
 block discarded – undo
91 94
         $this->subject = $subject;
92 95
     }
93 96
 
97
+    /**
98
+     * @param string $text
99
+     */
94 100
     public function setBody($text, $html = null)
95 101
     {
96 102
         $this->setBodyPlain($text);
@@ -124,6 +130,9 @@  discard block
 block discarded – undo
124 130
         $this->charset = $charset;
125 131
     }
126 132
 
133
+    /**
134
+     * @param string $key
135
+     */
127 136
     public function addHeader($key, $value)
128 137
     {
129 138
         if ((strpos($key, "\n") !== false) || (strpos($key, "\r") !== false)) {
@@ -377,6 +386,9 @@  discard block
 block discarded – undo
377 386
         ini_restore('sendmail_from');
378 387
     }
379 388
 
389
+    /**
390
+     * @param string $file
391
+     */
380 392
     protected function get_mime_type($file)
381 393
     {
382 394
         $ext = substr($file, strrpos($file, '.') + 1);
@@ -400,6 +412,9 @@  discard block
 block discarded – undo
400 412
         }
401 413
     }
402 414
 
415
+    /**
416
+     * @param string $boundary
417
+     */
403 418
     protected function build_attachment($attachment, $boundary)
404 419
     {
405 420
         return '--' . $boundary . "\n" .
@@ -409,6 +424,9 @@  discard block
 block discarded – undo
409 424
                 $attachment['data'] . "\n\n";
410 425
     }
411 426
 
427
+    /**
428
+     * @param string $boundary
429
+     */
412 430
     protected function build_image($image, $boundary)
413 431
     {
414 432
         return '--' . $boundary . "\n" .
Please login to merge, or discard this patch.
includes/modules/security_check/extended/admin_backup_directory_listing.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -36,6 +36,9 @@
 block discarded – undo
36 36
       ]);
37 37
     }
38 38
 
39
+    /**
40
+     * @param string $url
41
+     */
39 42
     function getHttpRequest($url) {
40 43
 
41 44
       $server = parse_url($url);
Please login to merge, or discard this patch.
catalog/includes/OSC/OM/OSCOM.php 1 patch
Doc Comments   +13 added lines patch added patch discarded remove patch
@@ -34,6 +34,9 @@  discard block
 block discarded – undo
34 34
         HTTP::setRequestType();
35 35
     }
36 36
 
37
+    /**
38
+     * @return string
39
+     */
37 40
     public static function getVersion()
38 41
     {
39 42
         if (!isset(static::$version)) {
@@ -119,6 +122,9 @@  discard block
 block discarded – undo
119 122
         return $OSCOM_Site->hasPage() && $OSCOM_Site->getPage()->isRPC();
120 123
     }
121 124
 
125
+    /**
126
+     * @param string $parameters
127
+     */
122 128
     public static function link($page, $parameters = null, $add_session_id = true, $search_engine_safe = true)
123 129
     {
124 130
         $page = HTML::sanitize($page);
@@ -293,6 +299,10 @@  discard block
 block discarded – undo
293 299
         }
294 300
     }
295 301
 
302
+    /**
303
+     * @param string $file
304
+     * @param string $group
305
+     */
296 306
     public static function loadConfigFile($file, $group)
297 307
     {
298 308
         $cfg = [];
@@ -323,6 +333,9 @@  discard block
 block discarded – undo
323 333
         return static::$cfg['global'][$key];
324 334
     }
325 335
 
336
+    /**
337
+     * @param string $key
338
+     */
326 339
     public static function configExists($key, $group = null)
327 340
     {
328 341
         if (!isset($group)) {
Please login to merge, or discard this patch.
admin/includes/modules/security_check/extended/admin_backup_file.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -36,6 +36,9 @@
 block discarded – undo
36 36
       ]);
37 37
     }
38 38
 
39
+    /**
40
+     * @param string $url
41
+     */
39 42
     function getHttpRequest($url) {
40 43
 
41 44
       $server = parse_url($url);
Please login to merge, or discard this patch.
admin/includes/modules/security_check/extended/ext_directory_listing.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -36,6 +36,9 @@
 block discarded – undo
36 36
       ]);
37 37
     }
38 38
 
39
+    /**
40
+     * @param string $url
41
+     */
39 42
     function getHttpRequest($url) {
40 43
 
41 44
       $server = parse_url($url);
Please login to merge, or discard this patch.