Laravel-Testing-Decoded
Laravel-Testing-Decoded copied to clipboard
Pg. 110-113, Generator is an internal class as of PHP 5.5
Minor issue with the Generator class in chapter 8, pages 110-113. Generator is an internal class as of PHP5.5. Running the GeneratorTest results in:
- GeneratorTest::testItWorks The "Generator" class is reserved for internal use and cannot be manually instantiated
Not a huge deal (I just changed it to MyGenerator and kept going), but it could trip someone up if they weren't aware.
Same issue here