From 099c1cdcea99d2a3e32129f356bc4ec1450b739f Mon Sep 17 00:00:00 2001 From: webimpress Date: Sun, 20 Oct 2019 22:30:42 +0100 Subject: [PATCH] Use short array notation in the documentation --- docs/book/specs.md | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/docs/book/specs.md b/docs/book/specs.md index fec26df3..074f3bc6 100644 --- a/docs/book/specs.md +++ b/docs/book/specs.md @@ -18,13 +18,13 @@ default. To enable it, you must add the `input_filters` configuration key. ```php -return array( - 'input_filters' => array( - 'abstract_factories' => array( - 'Zend\InputFilter\InputFilterAbstractServiceFactory' - ), - ), -); +return [ + 'input_filters' => [ + 'abstract_factories' => [ + 'Zend\InputFilter\InputFilterAbstractServiceFactory', + ], + ], +]; ``` For [Expressive](https://docs.zendframework.com/zend-expressive/) when using