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

Commit d195c63

Browse files
committed
Quality: Happy new year!
1 parent ebaafe7 commit d195c63

21 files changed

Lines changed: 44 additions & 52 deletions

Dal.php

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
*
99
* New BSD License
1010
*
11-
* Copyright © 2007-2016, Hoa community. All rights reserved.
11+
* Copyright © 2007-2017, 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:
@@ -45,7 +45,7 @@
4545
*
4646
* The higher class of the Database Abstract Layer. It wrappes all DAL.
4747
*
48-
* @copyright Copyright © 2007-2016 Hoa community
48+
* @copyright Copyright © 2007-2017 Hoa community
4949
* @license New BSD License
5050
*/
5151
class Dal implements Zformat\Parameterizable, Event\Source
@@ -127,7 +127,6 @@ class Dal implements Zformat\Parameterizable, Event\Source
127127
* The constructor is private to make a multiton.
128128
*
129129
* @param array $connectionParameters The layer connection parameter.
130-
* @return void
131130
*/
132131
private function __construct(array $connectionParameters)
133132
{

DalStatement.php

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
*
99
* New BSD License
1010
*
11-
* Copyright © 2007-2016, Hoa community. All rights reserved.
11+
* Copyright © 2007-2017, 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:
@@ -41,7 +41,7 @@
4141
*
4242
* The higher class that represents a DAL statement.
4343
*
44-
* @copyright Copyright © 2007-2016 Hoa community
44+
* @copyright Copyright © 2007-2017 Hoa community
4545
* @license New BSD License
4646
*/
4747
class DalStatement implements IDal\WrapperStatement
@@ -197,7 +197,6 @@ class DalStatement implements IDal\WrapperStatement
197197
* @param \Hoa\Database\IDal\WrapperStatement $statement The
198198
* statement
199199
* instance.
200-
* @return void
201200
*/
202201
public function __construct(IDal\WrapperStatement $statement)
203202
{

Exception.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
*
99
* New BSD License
1010
*
11-
* Copyright © 2007-2016, Hoa community. All rights reserved.
11+
* Copyright © 2007-2017, 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:
@@ -43,7 +43,7 @@
4343
*
4444
* Extending the \Hoa\Exception\Exception class.
4545
*
46-
* @copyright Copyright © 2007-2016 Hoa community
46+
* @copyright Copyright © 2007-2017 Hoa community
4747
* @license New BSD License
4848
*/
4949
class Exception extends HoaException

IDal/Wrapper.php

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
*
99
* New BSD License
1010
*
11-
* Copyright © 2007-2016, Hoa community. All rights reserved.
11+
* Copyright © 2007-2017, 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:
@@ -41,7 +41,7 @@
4141
*
4242
* Interface of a DAL wrapper.
4343
*
44-
* @copyright Copyright © 2007-2016 Hoa community
44+
* @copyright Copyright © 2007-2017 Hoa community
4545
* @license New BSD License
4646
*/
4747
interface Wrapper
@@ -53,7 +53,6 @@ interface Wrapper
5353
* @param string $username The username to connect to database.
5454
* @param string $password The password to connect to database.
5555
* @param array $driverOptions The driver options.
56-
* @return void
5756
* @throws \Hoa\Database\Exception
5857
*/
5958
public function __construct(

IDal/WrapperIterator.php

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
*
99
* New BSD License
1010
*
11-
* Copyright © 2007-2016, Hoa community. All rights reserved.
11+
* Copyright © 2007-2017, 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:
@@ -43,7 +43,7 @@
4343
*
4444
* Interface of a DAL iterator statement wrapper.
4545
*
46-
* @copyright Copyright © 2007-2016 Hoa community
46+
* @copyright Copyright © 2007-2017 Hoa community
4747
* @license New BSD License
4848
*/
4949
interface WrapperIterator extends Iterator\Iterator
@@ -53,7 +53,6 @@ interface WrapperIterator extends Iterator\Iterator
5353
*
5454
* @param object $statement The underlying statement instance.
5555
* @param array $style An array of fetching style options.
56-
* @return void
5756
*/
5857
public function __construct($statement, $style);
5958
}

IDal/WrapperStatement.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
*
99
* New BSD License
1010
*
11-
* Copyright © 2007-2016, Hoa community. All rights reserved.
11+
* Copyright © 2007-2017, 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:
@@ -44,7 +44,7 @@
4444
*
4545
* Interface of a DAL statement wrapper.
4646
*
47-
* @copyright Copyright © 2007-2016 Hoa community
47+
* @copyright Copyright © 2007-2017 Hoa community
4848
* @license New BSD License
4949
*/
5050
interface WrapperStatement extends Iterator\Aggregate

Layer/Pdo/Iterator.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
*
99
* New BSD License
1010
*
11-
* Copyright © 2007-2016, Hoa community. All rights reserved.
11+
* Copyright © 2007-2017, 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:
@@ -43,7 +43,7 @@
4343
*
4444
* Iterator Statement.
4545
*
46-
* @copyright Copyright © 2007-2016 Hoa community
46+
* @copyright Copyright © 2007-2017 Hoa community
4747
* @license New BSD License
4848
*/
4949
class Iterator implements Database\IDal\WrapperIterator
@@ -76,9 +76,9 @@ class Iterator implements Database\IDal\WrapperIterator
7676
*
7777
* @param object $statement The underlying statement instance.
7878
* @param array $style An array of fetching style options.
79-
* @return void
8079
*/
81-
public function __construct($statement, $style) {
80+
public function __construct($statement, $style)
81+
{
8282
$this->_statement = $statement;
8383
$this->_style = $style;
8484

Layer/Pdo/Pdo.php

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
*
99
* New BSD License
1010
*
11-
* Copyright © 2007-2016, Hoa community. All rights reserved.
11+
* Copyright © 2007-2017, 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:
@@ -44,7 +44,7 @@
4444
*
4545
* Wrap PDO.
4646
*
47-
* @copyright Copyright © 2007-2016 Hoa community
47+
* @copyright Copyright © 2007-2017 Hoa community
4848
* @license New BSD License
4949
*/
5050
class Pdo implements Database\IDal\Wrapper
@@ -65,7 +65,6 @@ class Pdo implements Database\IDal\Wrapper
6565
* @param string $username The username to connect to database.
6666
* @param string $password The password to connect to database.
6767
* @param array $driverOptions The driver options.
68-
* @return void
6968
* @throws \Hoa\Database\Exception
7069
*/
7170
public function __construct(

Layer/Pdo/Statement.php

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
*
99
* New BSD License
1010
*
11-
* Copyright © 2007-2016, Hoa community. All rights reserved.
11+
* Copyright © 2007-2017, 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:
@@ -43,7 +43,7 @@
4343
*
4444
* Wrap PDOStatement.
4545
*
46-
* @copyright Copyright © 2007-2016 Hoa community
46+
* @copyright Copyright © 2007-2017 Hoa community
4747
* @license New BSD License
4848
*/
4949
class Statement implements Database\IDal\WrapperStatement
@@ -72,7 +72,6 @@ class Statement implements Database\IDal\WrapperStatement
7272
* Create a statement instance.
7373
*
7474
* @param \PDOStatement $statement The PDOStatement instance.
75-
* @return void
7675
*/
7776
public function __construct(\PDOStatement $statement)
7877
{

Query/Delete.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
*
99
* New BSD License
1010
*
11-
* Copyright © 2007-2016, Hoa community. All rights reserved.
11+
* Copyright © 2007-2017, 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:
@@ -41,7 +41,7 @@
4141
*
4242
* Build a DELETE query.
4343
*
44-
* @copyright Copyright © 2007-2016 Hoa community
44+
* @copyright Copyright © 2007-2017 Hoa community
4545
* @license New BSD License
4646
*/
4747
class Delete extends Where implements Dml

0 commit comments

Comments
 (0)