mirror of
https://github.com/retailcrm/PHPExcel.git
synced 2024-11-26 15:26:03 +03:00
minor performance tweak
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@85749 2327b42d-5241-43d6-9e2a-de5ac946f064
This commit is contained in:
parent
7b8f646880
commit
d5ce069cfc
@ -76,9 +76,9 @@ class PHPExcel_Calculation_Function {
|
|||||||
* @param string $pPHPExcelName PHPExcel function mapping
|
* @param string $pPHPExcelName PHPExcel function mapping
|
||||||
* @throws Exception
|
* @throws Exception
|
||||||
*/
|
*/
|
||||||
public function __construct($pCategory = null, $pExcelName = null, $pPHPExcelName = null)
|
public function __construct($pCategory = NULL, $pExcelName = NULL, $pPHPExcelName = NULL)
|
||||||
{
|
{
|
||||||
if (!is_null($pCategory) && !is_null($pExcelName) && !is_null($pPHPExcelName)) {
|
if (($pCategory !== NULL) && ($pExcelName !== NULL) && ($pPHPExcelName !== NULL)) {
|
||||||
// Initialise values
|
// Initialise values
|
||||||
$this->_category = $pCategory;
|
$this->_category = $pCategory;
|
||||||
$this->_excelName = $pExcelName;
|
$this->_excelName = $pExcelName;
|
||||||
|
Loading…
Reference in New Issue
Block a user