diff --git a/README.md b/README.md index de499e9..ebb4d1d 100644 --- a/README.md +++ b/README.md @@ -59,7 +59,7 @@ More properties can easily be added: $c->session = new Session(); $c->isSecure = $uri->scheme === 'https'; $c->getDummy = function($c) { return $c->dummy; }; -$c->setDummy = function($c, $dummy) { $c->dummy = $dummy; return $dummy; }; +$c->setDummy = function($c, $dummy) { $c->dummy = $dummy; return $c; }; $dummy = $c->getDummy(); $c->setDummy($dummy);