Several changes made:
All checks were successful
The build was successful.

* Do not overload entry point
 * Automatically call Program::__construct()
 * Automatically call Program::main();
 * Fix all tests
This commit is contained in:
2018-08-12 12:52:35 +02:00
parent 8cbfca2bc9
commit 029dd9bfb4
10 changed files with 52 additions and 38 deletions

View File

@@ -1,6 +1,6 @@
class Main {
class Program {
function __construct() {
function main() {
$this->b($this->a('First A'), $this->a('Second A'), $this->a('Third A'));
}
@@ -19,5 +19,3 @@ class Main {
}
}
new Main();