aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorNeonXP <frei@neonxp.info>2013-09-18 20:27:46 +0400
committerNeonXP <frei@neonxp.info>2013-09-18 20:27:46 +0400
commit4b092895bc510efb6cc329b325a0426e720f05d5 (patch)
tree87f1b020a6806b537dda3e4d78ebbafc24683d88 /src
parente3bac0c101b8a6c762eda0df66fbfbda448b476c (diff)
~ remove callable for PHP 5.3
Diffstat (limited to 'src')
-rw-r--r--src/NXP/MathExecutor.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/NXP/MathExecutor.php b/src/NXP/MathExecutor.php
index 7eaa914..f348355 100644
--- a/src/NXP/MathExecutor.php
+++ b/src/NXP/MathExecutor.php
@@ -164,7 +164,7 @@ class MathExecutor
* @param int $places Count of arguments
* @return MathExecutor
*/
- public function addFunction($name, callable $function = null, $places = 1)
+ public function addFunction($name, $function = null, $places = 1)
{
$this->tokenFactory->addFunction($name, $function, $places);