summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRico Antonio Felix <ricoantoniofelix@yahoo.com>2015-08-08 12:22:22 -0400
committerRico Antonio Felix <ricoantoniofelix@yahoo.com>2015-08-08 12:22:22 -0400
commit435d275e2b9de8d6100fe38d07e229452d41a832 (patch)
tree5f584e23fc4e85aa8e981a86e67ad660f53dbd69
parent8aa6e9bbb497d494dbcf86203acaf136da2a50c8 (diff)
Corrected syntax error in documentation code fragment...
-rw-r--r--documentation/lambda-functions.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/documentation/lambda-functions.html b/documentation/lambda-functions.html
index 9278234..288c97b 100644
--- a/documentation/lambda-functions.html
+++ b/documentation/lambda-functions.html
@@ -57,7 +57,7 @@ other_function(function() {
void other_function(Php::Parameters &amp;params)
{
// make sure the function was really called with at least one parameter
- if (params.size() == 0) return nullptr;
+ if (params.size() == 0) return;
// this function is called from PHP user space, and it is called
// with a anonymous function as its first parameter