Uniformize code

This commit is contained in:
Laurent Destailleur 2015-06-06 14:34:57 +02:00
parent 89f77f5e2b
commit 8d84dd1155
3 changed files with 8 additions and 8 deletions

View File

@ -55,7 +55,7 @@ abstract class DoliDB implements Database
public $transaction_opened;
/** @var string Last successful query */
public $lastquery;
/** @ar string Last failed query */
/** @var string Last failed query */
public $lastqueryerror;
/** @var string Last error message */
public $lasterror;

View File

@ -320,14 +320,14 @@ class printing_printgcp extends PrintingDriver
}
/**
* Curl request
* Make a curl request
*
* @param string $url url to hit
* @param array $postfields array of post fields
* @param string[] $headers array of http headers
* @return string response from curl
* @param string $url url to hit
* @param array $postfields array of post fields
* @param string[] $headers array of http headers
* @return string response from curl
*/
private function makeCurl($url,$postfields=array(),$headers=array())
private function makeCurl($url, $postfields=array(), $headers=array())
{
// Curl Init
$curl = curl_init($url);

View File

@ -110,7 +110,7 @@ function test_sql_and_script_inject($val, $type)
}
/**
* Security: Return true if OK, false otherwise.
* Return true if security check on parameters are OK, false otherwise.
*
* @param string $var Variable name
* @param string $type 1=GET, 0=POST, 2=PHP_SELF