Fix warnings

This commit is contained in:
Laurent Destailleur 2020-09-20 17:06:53 +02:00
parent cd8ebd9500
commit 4ce7507518
6 changed files with 3 additions and 7 deletions

View File

@ -80,7 +80,6 @@ if ($action != 'delete' && empty($requestedpermissionsarray))
//var_dump($requestedpermissionsarray);exit;
// Instantiate the Api service using the credentials, http client and storage mechanism for the token
/** @var $apiService Service */
$apiService = $serviceFactory->createService('GitHub', $credentials, $storage, $requestedpermissionsarray);
// access type needed to have oauth provider refreshing token

View File

@ -82,7 +82,6 @@ if ($action != 'delete' && empty($requestedpermissionsarray))
// Instantiate the Api service using the credentials, http client and storage mechanism for the token
// $requestedpermissionsarray contains list of scopes.
// Conversion into URL is done by Reflection on constant with name SCOPE_scope_in_uppercase
/** @var $apiService Service */
$apiService = $serviceFactory->createService('Google', $credentials, $storage, $requestedpermissionsarray);
// access type needed to have oauth provider refreshing token

View File

@ -80,7 +80,6 @@ if (GETPOST('state')) $requestedpermissionsarray = explode(',', GETPOST('state')
//var_dump($requestedpermissionsarray);exit;
// Instantiate the Api service using the credentials, http client and storage mechanism for the token
/** @var $apiService Service */
//$apiService = $serviceFactory->createService('StripeTest', $credentials, $storage, $requestedpermissionsarray);
$sql = "INSERT INTO ".MAIN_DB_PREFIX."oauth_token set service='StripeLive', entity=".$conf->entity;

View File

@ -80,7 +80,6 @@ if (GETPOST('state')) $requestedpermissionsarray = explode(',', GETPOST('state')
//var_dump($requestedpermissionsarray);exit;
// Instantiate the Api service using the credentials, http client and storage mechanism for the token
/** @var $apiService Service */
//$apiService = $serviceFactory->createService('StripeTest', $credentials, $storage, $requestedpermissionsarray);
$sql = "INSERT INTO ".MAIN_DB_PREFIX."oauth_token set service='StripeTest', entity=".$conf->entity;

View File

@ -107,7 +107,7 @@ class pdf_baleine extends ModelePDFProjects
/**
* Issuer
* @var Company object that emits
* @var Societe object that emits
*/
public $emetteur;

View File

@ -39,7 +39,7 @@ require_once DOL_DOCUMENT_ROOT.'/core/lib/doc.lib.php';
class doc_generic_proposal_odt extends ModelePDFPropales
{
/**
* @var Company Issuer object that emits
* @var Societe Issuer object that emits
*/
public $emetteur;
@ -226,7 +226,7 @@ class doc_generic_proposal_odt extends ModelePDFPropales
/**
* Function to build a document on disk using the generic odt module.
*
* @param Propale $object Object source to build document
* @param Propal $object Object source to build document
* @param Translate $outputlangs Lang output object
* @param string $srctemplatepath Full path of source filename for generator using a template file
* @param int $hidedetails Do not show line details