41
41
/**
42
42
* Class \Hoa\Database\Dal.
43
43
*
44
- * The heigher class of the Database Abstract Layer. It wrappes all DAL.
44
+ * The higher class of the Database Abstract Layer. It wrappes all DAL.
45
45
*
46
46
* @copyright Copyright © 2007-2015 Hoa community
47
47
* @license New BSD License
@@ -117,11 +117,11 @@ class Dal implements Core\Parameter\Parameterizable, Core\Event\Source
117
117
* Create a DAL instance, representing a connection to a database.
118
118
* The constructor is private to make a multiton.
119
119
*
120
- * @param string $dalName The database abstract layer name.
121
- * @param string $dsn The DSN of database.
122
- * @param string $username The username to connect to database.
123
- * @param string $password The password to connect to database.
124
- * @param array $driverOptions The driver options.
120
+ * @param string $dalName The database abstract layer name.
121
+ * @param string $dsn The DSN of database.
122
+ * @param string $username The username to connect to database.
123
+ * @param string $password The password to connect to database.
124
+ * @param array $driverOptions The driver options.
125
125
* @return void
126
126
* @throws \Hoa\Database\Exception
127
127
*/
@@ -165,7 +165,7 @@ private function __construct(
165
165
/**
166
166
* Initialize parameters.
167
167
*
168
- * @param array $parameters Parameters.
168
+ * @param array $parameters Parameters.
169
169
* @return void
170
170
*/
171
171
public static function initializeParameters (Array $ parameters = [])
@@ -477,7 +477,7 @@ public function errorInfo()
477
477
* Return an array of available drivers.
478
478
*
479
479
* @return array
480
- * @throws \Hoa\Datatase \Exception
480
+ * @throws \Hoa\Database \Exception
481
481
*/
482
482
public function getAvailableDrivers ()
483
483
{
@@ -487,7 +487,7 @@ public function getAvailableDrivers()
487
487
/**
488
488
* Set attributes.
489
489
*
490
- * @param array $attributes Attributes values.
490
+ * @param array $attributes Attributes values.
491
491
* @return array
492
492
* @throws \Hoa\Database\Exception
493
493
*/
0 commit comments