Stoyan Kyosev
Results
2
issues of
Stoyan Kyosev
If you use custom creation method with *float* argument, it never gets called, because *gettype* returns 'double' for *float* (see [official PHP docs](https://www.php.net/manual/en/function.gettype.php))
I really don't see a reason why the method of this class should be private. There are some realistic cases for extending the class and overriding some functionalities. For example...