diff --git a/10-dynamic-pages.md b/10-dynamic-pages.md index eea4ac7..d611369 100644 --- a/10-dynamic-pages.md +++ b/10-dynamic-pages.md @@ -166,7 +166,7 @@ Then in the `FilePageReader` file add this code at the end of your `readBySlug` ```php $path = "$this->pageFolder/$slug.md"; -if(!file_exists($path)) { +if (!file_exists($path)) { throw new InvalidPageException($slug); }