Skip to content

Commit 84cca12

Browse files
committed
Latte TemplatePrintNode: removed phpDoc code
1 parent 6a47180 commit 84cca12

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

src/Bridges/ApplicationLatte/Nodes/TemplatePrintNode.php

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -59,16 +59,10 @@ public static function printClass(Latte\Runtime\Template $template, ?string $par
5959
$class->addTrait(Nette\SmartObject::class);
6060
}
6161

62-
$blueprint->addProperties($class, $params, true);
62+
$blueprint->addProperties($class, $params);
6363
$blueprint->addFunctions($class, $funcs);
6464

6565
$end = $blueprint->printCanvas();
66-
$blueprint->printHeader('Native types');
67-
$blueprint->printCode((string) $namespace);
68-
69-
$blueprint->addProperties($class, $params, false);
70-
71-
$blueprint->printHeader('phpDoc types');
7266
$blueprint->printCode((string) $namespace);
7367
echo $end;
7468
}

0 commit comments

Comments
 (0)