From 5922d062a440193af8ff8734f0821a49a41fa825 Mon Sep 17 00:00:00 2001 From: Aleksi Peebles Date: Mon, 8 Aug 2016 13:34:57 +0300 Subject: [PATCH] Fix recursive calls to processPattern --- src/aleksip/DataTransformPlugin/DataTransformer.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/aleksip/DataTransformPlugin/DataTransformer.php b/src/aleksip/DataTransformPlugin/DataTransformer.php index 3bc15d3..b6baaab 100644 --- a/src/aleksip/DataTransformPlugin/DataTransformer.php +++ b/src/aleksip/DataTransformPlugin/DataTransformer.php @@ -53,6 +53,7 @@ protected function processPattern($pattern) ) { return; } + $this->setProcessed($pattern); $patternSpecificData = $this->processData(Data::getPatternSpecificData($pattern)) ; @@ -67,7 +68,6 @@ protected function processPattern($pattern) } Data::initPattern($pattern); Data::setPatternData($pattern, $patternSpecificData); - $this->setProcessed($pattern); } protected function processData($data)