Use short array declaration

This commit is contained in:
Romain Neutron
2013-11-18 11:58:12 +01:00
parent 2898b317c4
commit 56b373ee6e
723 changed files with 8350 additions and 8352 deletions

View File

@@ -32,7 +32,7 @@ class connection_pdo extends connection_abstract implements connection_interface
*
* @return connection_pdo
*/
public function __construct($name, $hostname, $port, $user, $passwd, $dbname = false, $options = array(), $debug = false)
public function __construct($name, $hostname, $port, $user, $passwd, $dbname = false, $options = [], $debug = false)
{
$this->debug = $debug;
$this->name = $name;
@@ -65,7 +65,7 @@ class connection_pdo extends connection_abstract implements connection_interface
* @param type $driver_options
* @return PDOStatement
*/
public function prepare($statement, $driver_options = array())
public function prepare($statement, $driver_options = [])
{
if ($this->debug) {
return new connection_pdoStatementDebugger(parent::prepare($statement, $driver_options));