Completed
Push — master ( 0f3a13...de0e97 )
by
unknown
03:38
created
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.
catalog/admin/define_language.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -7,7 +7,6 @@
 block discarded – undo
7 7
  */
8 8
 
9 9
     use OSC\OM\Cache;
10
-    use OSC\OM\DateTime;
11 10
     use OSC\OM\HTML;
12 11
     use OSC\OM\OSCOM;
13 12
 
Please login to merge, or discard this patch.