From 81725a35593e97a5474cda5484c55402aea9e926 Mon Sep 17 00:00:00 2001 From: Jhon Mike Date: Fri, 11 Nov 2016 00:25:15 -0200 Subject: [PATCH] correcting of examples in documentation --- doc/book/cookbook/using-a-base-path.md | 2 +- doc/book/reference/migration/rc-to-v1.md | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/book/cookbook/using-a-base-path.md b/doc/book/cookbook/using-a-base-path.md index 5ef5e40c..018dd5b6 100644 --- a/doc/book/cookbook/using-a-base-path.md +++ b/doc/book/cookbook/using-a-base-path.md @@ -149,7 +149,7 @@ return [ Finally, if you're using zend-view, you can register a new "basePath" helper in your `config/autoload/templates.global.php`: -``` +```php return [ /* ... */ 'view_helpers' => [ diff --git a/doc/book/reference/migration/rc-to-v1.md b/doc/book/reference/migration/rc-to-v1.md index dcc7a416..9a74dd8c 100644 --- a/doc/book/reference/migration/rc-to-v1.md +++ b/doc/book/reference/migration/rc-to-v1.md @@ -282,7 +282,7 @@ return [ [ 'middleware' => DebugToolbarMiddleware::class ], [ 'middleware' => ApiMiddleware::class, - 'path' => '/api, + 'path' => '/api', ], ], @@ -307,7 +307,7 @@ return [ ], 'api' => [ 'middleware' => ApiMiddleware::class, - 'path' => '/api, + 'path' => '/api', 'priority' => 100, ],