It did but I also had to drop strong typing in the constructor. By the way, there is also a check that a comment must be greater than 10 chars. “It works” is only nine so an error is thrown.
To be more accurate, the PSR-4 autoloader standard used by composer forces case sensitivity (on most systems!), effectively making class names case sensitive the first time you use them.