From 5f3374104aa1c31a05ebcce4325299beefef675d Mon Sep 17 00:00:00 2001 From: Piotr Konieczny Date: Tue, 17 Dec 2024 10:36:47 +0100 Subject: [PATCH] Docs: Use require without brackets --- docs/en/commands.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/en/commands.rst b/docs/en/commands.rst index 4c3bd277d..1e742dbe6 100644 --- a/docs/en/commands.rst +++ b/docs/en/commands.rst @@ -394,7 +394,7 @@ using the Manager class : $pdo = new PDO('sqlite::memory:', null, null, [ PDO::ATTR_ERRMODE => PDO::ERRMODE_EXCEPTION ]); - $configArray = require('phinx.php'); + $configArray = require 'phinx.php'; $configArray['environments']['test'] = [ 'adapter' => 'sqlite', 'connection' => $pdo,