@@ -12,7 +12,8 @@ namespace WebBasics;
require_once 'base.php';
/**
- * Object that to automatically load classes within a root directory.
+ * Object to automatically load classes within a root directory.
+ *
* Simple example: all classes are located in the 'classes' directory.
* <code>
* $loader = new Autoloader('classes');
@@ -153,6 +153,8 @@ class Template extends Node {
* Parse the content of the template file into a tree structure of blocks
* and variables.
+ * @throws ParseError If an {end} tag is not used properly.
*/
private function parse_blocks() {
$current = $root = new Node('block');