From 00af80827efe0a03fb8be13c2af69aa60185e81a Mon Sep 17 00:00:00 2001 From: Dominique Fournier Date: Mon, 10 Mar 2014 13:52:04 +0000 Subject: [PATCH] Add a blank line to cli to be more readable git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1216 bf3deb0d-5f1a-0410-827f-c0cc1f45334c --- cli.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/cli.php b/cli.php index 28690ab..c9b5bb1 100644 --- a/cli.php +++ b/cli.php @@ -82,8 +82,10 @@ $cli->run(); */ $refclass = new ReflectionClass ($class); $methods = $refclass->getMethods(); echo "List of methods available in the class '$class' :\n"; - foreach ($methods as $method) + foreach ($methods as $key=>$method) { + if ($key > 0) + echo "\n"; echo " ".$method->name; $r = new ReflectionMethod ($class, $method->name); $params = $r->getParameters();