88 *
99 * New BSD License
1010 *
11- * Copyright © 2007-2015 , Hoa community. All rights reserved.
11+ * Copyright © 2007-2016 , Hoa community. All rights reserved.
1212 *
1313 * Redistribution and use in source and binary forms, with or without
1414 * modification, are permitted provided that the following conditions are met:
4545 *
4646 * The higher class of the Database Abstract Layer. It wrappes all DAL.
4747 *
48- * @copyright Copyright © 2007-2015 Hoa community
48+ * @copyright Copyright © 2007-2016 Hoa community
4949 * @license New BSD License
5050 */
5151class Dal implements Zformat \Parameterizable, Event \Source
@@ -129,7 +129,7 @@ class Dal implements Zformat\Parameterizable, Event\Source
129129 * @param array $connectionParameters The layer connection parameter.
130130 * @return void
131131 */
132- private function __construct (Array $ connectionParameters )
132+ private function __construct (array $ connectionParameters )
133133 {
134134 $ this ->_connectionParameters = $ connectionParameters ;
135135
@@ -148,7 +148,7 @@ private function __construct(Array $connectionParameters)
148148 * @param array $parameters Parameters.
149149 * @return void
150150 */
151- public static function initializeParameters (Array $ parameters = [])
151+ public static function initializeParameters (array $ parameters = [])
152152 {
153153 self ::$ _parameters = new Zformat \Parameter (
154154 __CLASS__ ,
@@ -189,7 +189,7 @@ public static function getInstance(
189189 $ dsn = null ,
190190 $ username = null ,
191191 $ password = null ,
192- Array $ driverOptions = []
192+ array $ driverOptions = []
193193 ) {
194194 if (null === self ::$ _parameters ) {
195195 self ::initializeParameters ();
@@ -433,7 +433,7 @@ public function lastInsertId($name = null)
433433 * @return \Hoa\Database\DalStatement
434434 * @throws \Hoa\Database\Exception
435435 */
436- public function prepare ($ statement , Array $ options = [])
436+ public function prepare ($ statement , array $ options = [])
437437 {
438438 return new DalStatement (
439439 $ this ->getDal ()->prepare (
@@ -517,7 +517,7 @@ public function getAvailableDrivers()
517517 * @return array
518518 * @throws \Hoa\Database\Exception
519519 */
520- public function setAttributes (Array $ attributes )
520+ public function setAttributes (array $ attributes )
521521 {
522522 return $ this ->getDal ()->setAttributes ($ attributes );
523523 }
0 commit comments