@@ -79,7 +79,7 @@ |
||
79 | 79 | * |
80 | 80 | * Constructor. |
81 | 81 | * |
82 | - * @param Quoter $quoter A helper for quoting identifier names. |
|
82 | + * @param QuoterInterface $quoter A helper for quoting identifier names. |
|
83 | 83 | * |
84 | 84 | * @param string $seq_bind_prefix A prefix for rewritten sequential-binding |
85 | 85 | * placeholders (@see getSeqPlaceholder()). |
@@ -99,7 +99,7 @@ discard block |
||
99 | 99 | * |
100 | 100 | * Returns a new SELECT object. |
101 | 101 | * |
102 | - * @return Common\SelectInterface |
|
102 | + * @return AbstractQuery |
|
103 | 103 | * |
104 | 104 | */ |
105 | 105 | public function newSelect() |
@@ -111,7 +111,7 @@ discard block |
||
111 | 111 | * |
112 | 112 | * Returns a new INSERT object. |
113 | 113 | * |
114 | - * @return Common\InsertInterface |
|
114 | + * @return AbstractQuery |
|
115 | 115 | * |
116 | 116 | */ |
117 | 117 | public function newInsert() |
@@ -125,7 +125,7 @@ discard block |
||
125 | 125 | * |
126 | 126 | * Returns a new UPDATE object. |
127 | 127 | * |
128 | - * @return Common\UpdateInterface |
|
128 | + * @return AbstractQuery |
|
129 | 129 | * |
130 | 130 | */ |
131 | 131 | public function newUpdate() |
@@ -137,7 +137,7 @@ discard block |
||
137 | 137 | * |
138 | 138 | * Returns a new DELETE object. |
139 | 139 | * |
140 | - * @return Common\DeleteInterface |
|
140 | + * @return AbstractQuery |
|
141 | 141 | * |
142 | 142 | */ |
143 | 143 | public function newDelete() |
@@ -173,6 +173,9 @@ discard block |
||
173 | 173 | ); |
174 | 174 | } |
175 | 175 | |
176 | + /** |
|
177 | + * @param string $query |
|
178 | + */ |
|
176 | 179 | protected function newBuilder($query) |
177 | 180 | { |
178 | 181 | $builderClass = "Aura\SqlQuery\\{$this->db}\\{$query}Builder"; |