From 377d18008a6cbaffa542b57b0a56a779a47a3479 Mon Sep 17 00:00:00 2001 From: Nikitchenko Sergey Date: Fri, 26 Jan 2018 14:32:07 +0300 Subject: [PATCH] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 84d362a..5186e61 100644 --- a/README.md +++ b/README.md @@ -185,7 +185,7 @@ See: examples/properties.php
$idg->beginBlock(); $idg->text('Text in block.') ->setMargin(10, 20, 20, 20); -$idg->endElement(); +$idg->endBlock(); $idg->beginBlock()->setStaticHeight(function(\Idg\Elements\Element $element) { return $element->getPrevSibling()->getHeight(); });