Skip to content
This repository was archived by the owner on Sep 20, 2021. It is now read-only.

Commit f00bdba

Browse files
committed
Fix PHPDoc & typo.
1 parent cd86c6e commit f00bdba

6 files changed

Lines changed: 7 additions & 7 deletions

File tree

Dal.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -506,7 +506,7 @@ public function setAttributes(Array $attributes)
506506
*/
507507
public function setAttribute($attribute, $value)
508508
{
509-
return $this->getDal()->setAtribute($attribute, $value);
509+
return $this->getDal()->setAttribute($attribute, $value);
510510
}
511511

512512
/**

IDal/Wrapper.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ public function __construct(
6060
$dsn,
6161
$username,
6262
$password,
63-
Array $driverOption = []
63+
Array $driverOptions = []
6464
);
6565

6666
/**
@@ -152,7 +152,7 @@ public function errorInfo();
152152
* Return an array of available drivers.
153153
*
154154
* @return array
155-
* @throws \Hoa\Datatase\Exception
155+
* @throws \Hoa\Database\Exception
156156
*/
157157
public function getAvailableDrivers();
158158

Layer/Pdo/Pdo.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -275,7 +275,7 @@ public function errorInfo()
275275
* Return an array of available drivers.
276276
*
277277
* @return array
278-
* @throws \Hoa\Datatase\Exception
278+
* @throws \Hoa\Database\Exception
279279
*/
280280
public function getAvailableDrivers()
281281
{

Layer/Pdo/Statement.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ protected function getStatement()
9999
*
100100
* @param array $bindParameters Bind parameters values if bindParam
101101
* is not called.
102-
* @return \Hoa\Database\Pdo\Statement
102+
* @return \Hoa\Database\Layer\Pdo\Statement
103103
* @throws \Hoa\Database\Exception
104104
*/
105105
public function execute(Array $bindParameters = null)

Query/EncloseIdentifier.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ trait EncloseIdentifier
7575
*
7676
* @param string $openingSymbol Opening symbol.
7777
* @param string $closingSymbol Closing symbol.
78-
* @return \Hoa\Database\Query\EncloseNames
78+
* @return \Hoa\Database\Query\EncloseIdentifier
7979
*/
8080
public function setEncloseSymbol($openingSymbol, $closingSymbol = null)
8181
{

Query/Join.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ class Join
6666
* Constructor.
6767
*
6868
* @param \Hoa\Database\Query\Select $parent Parent query.
69-
* @param string $from FROM entry (“friends”).
69+
* @param array $from FROM entry (“friends”).
7070
* @return void
7171
*/
7272
public function __construct(Select $parent, Array &$from)

0 commit comments

Comments
 (0)