We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6838f22 commit 9f60e44Copy full SHA for 9f60e44
1 file changed
src/DB.php
@@ -11,6 +11,9 @@ class DB
11
12
private $data = null;
13
14
+ /**
15
+ * @var \PDO
16
+ */
17
private $dbh = null;
18
19
private $debug = false;
@@ -33,12 +36,20 @@ class DB
33
36
34
37
private $select = null;
35
38
39
40
+ * @var \PDOStatement
41
42
private $sth = null;
43
44
protected $table = null;
45
46
private $where = array();
47
48
49
+ * DB constructor.
50
+ *
51
+ * @throws \Exception
52
53
public function __construct() {
54
$this->mount();
55
}
@@ -392,6 +403,10 @@ public function limit(int $rowCount = null, int $offset = null): DB
392
403
return $this;
393
404
394
405
406
407
+ * @return DB
408
409
395
410
protected function mount(): DB
396
411
{
397
412
if (array_key_exists($this->connection, self::$pool)
0 commit comments