Skip to content

Commit

Permalink
Fix comments, suggested by scrutinizer
Browse files Browse the repository at this point in the history
  • Loading branch information
fbonzon committed Oct 14, 2015
1 parent 6b12c21 commit 65c213a
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
2 changes: 1 addition & 1 deletion class.phpmailer.php
Expand Up @@ -3138,7 +3138,7 @@ public function msgHTML($message, $basedir = '', $advanced = false)
}
} elseif (substr($url, 0, 4) !== 'cid:' && !preg_match('#^[A-z]+://#', $url)) {
// Do not change urls for absolute images (thanks to corvuscorax)
// Do not change urls that are already inline images
// Do not change urls that are already inline images
$filename = basename($url);
$directory = dirname($url);
if ($directory == '.') {
Expand Down
4 changes: 2 additions & 2 deletions class.phpmaileroauth.php
Expand Up @@ -57,8 +57,8 @@ class PHPMailerOAuth extends PHPMailer
protected $oauth = null;

/**
* Get an OAuth instance to use.
* @return OAuth
* Get a PHPMailerOAuthGoogle instance to use.
* @return PHPMailerOAuthGoogle
*/
public function getOAUTHInstance()
{
Expand Down
6 changes: 6 additions & 0 deletions class.phpmaileroauthgoogle.php
Expand Up @@ -31,6 +31,12 @@ class PHPMailerOAuthGoogle
private $oauthClientId = '';
private $oauthClientSecret = '';

/**
* @param string $UserEmail
* @param string $ClientSecret
* @param string $ClientId
* @param string $RefreshToken
*/
public function __construct(
$UserEmail,
$ClientSecret,
Expand Down

0 comments on commit 65c213a

Please sign in to comment.