Fix link in documentation; fix version in README

This commit is contained in:
PJ Dietz 2019-06-17 15:01:42 -04:00
parent e558d613ab
commit e4cc02dc8a
3 changed files with 3 additions and 4 deletions

View File

@ -20,7 +20,7 @@ Add an entry for "wellrested/wellrested" to your composer.json file's `require`
```json
{
"require": {
"wellrested/wellrested": "~3.1"
"wellrested/wellrested": "^4"
}
}
```

View File

@ -25,7 +25,6 @@ RUN chmod +x /usr/local/bin/dumb-init
# Create a directory for project sources and user's home directory
RUN mkdir /usr/local/src/wellrested && \
chown -R www-data:www-data /usr/local/src/wellrested && \
mkdir /var/www && \
chown -R www-data:www-data /var/www
COPY ./src /usr/local/src/wellrested/src

View File

@ -61,7 +61,7 @@ The site will also provide an ``X-example: hello world`` using dedicated middlew
require_once 'vendor/autoload.php';
// Create a handler that will construct and return a response. We'll
// Create a handler that will construct and return a response. We'll
// register this handler with a server and router below.
class HelloHandler implements RequestHandlerInterface
{
@ -143,6 +143,6 @@ Contents
.. _PSR-7: https://www.php-fig.org/psr/psr-7/
.. _PSR-15: https://www.php-fig.org/psr/psr-15/
.. _factory functions: handlers-and-middleware.html#factory-functions
.. _middleware: handles-and-middleware.html
.. _middleware: handlers-and-middleware.html
.. _router: router.html
.. _URI Templates: uri-templates.html