For optional contructor parameters injection should also be otional
hanneskod opened this issue · comments
For the constructor
function __construct($x = '') {}
inroute enforces $x to be injected. But this is not necessary. Injectiong $x should be optional, as the language specs suggests...