userfrosting / learn

Documentation and guide for UserFrosting
https://learn.userfrosting.com
MIT License
14 stars 40 forks source link

Recipe for a New Page is missing some critical code for working correctly (19.01) #98

Closed fjsteves closed 4 years ago

fjsteves commented 4 years ago

In viewing https://github.com/userfrosting/learn/blob/master/pages/19.recipes/01.creating-a-new-page/docs.md, there was an issue getting a new page to work properly. Adding the following use statements to the top corrected it:

use Psr\Http\Message\ResponseInterface as Response;

use Psr\Http\Message\ServerRequestInterface as Request;