From 7449faaa76a5b4008fd51a6562cca2e0a852ea6b Mon Sep 17 00:00:00 2001 From: Laria Carolin Chabowski Date: Fri, 1 May 2020 17:33:13 +0200 Subject: Clean up code and improve documentation This switches the code documentation genarator (we're now using phpdoc instead of NaturalDoc). Also various small code cleanup tasks: - Remove unused code - Get rid of `and` / `or`, we're using `&&` / `||` now - Adding missing return values - Helping PhpStorm to detect some dynamically called functions (mark_builtin_callable in Transcompiler) - Reword transcompiling => compiling in documentation --- example/index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'example/index.php') diff --git a/example/index.php b/example/index.php index 4a96410..caf57eb 100644 --- a/example/index.php +++ b/example/index.php @@ -9,7 +9,7 @@ use \kch42\ste; $ste = new ste\STECore( new ste\FilesystemStorageAccess( # The STECore needs a StorageAccess implementation, we are using the FilesystemStorageAccess, which comes with STE. dirname(__FILE__) . "/templates/src", # FilesystemStorageAccess needs a directory, where the Templates are... - dirname(__FILE__) . "/templates/transc" # ...and a directory for the transcompiled templates (write permissions needed). + dirname(__FILE__) . "/templates/transc" # ...and a directory for the compiled templates (write permissions needed). ) ); -- cgit v1.2.3-54-g00ecf