File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -179,6 +179,8 @@ private function query(string $query): \PDOStatement|false
179179
180180 /**
181181 * Close the PDO connection
182+ *
183+ * @link https://www.php.net/manual/en/pdo.connections.php
182184 */
183185 public function close (): void
184186 {
@@ -200,6 +202,7 @@ private function get(): ?array
200202 *
201203 * @return array
202204 *
205+ * @see \DatabaseFactory\Collections\ToArray::collection()
203206 * @see \DatabaseFactory\Builder::get()
204207 *
205208 */
@@ -213,13 +216,13 @@ public function toArray(): array
213216 *
214217 * @return string|false
215218 *
219+ * @see \DatabaseFactory\Collections\ToJSON::jsonSerialize()
216220 * @see \DatabaseFactory\Builder::get()
217221 */
218222 public function toJSON (): string |false
219223 {
220224 return json_encode (
221- (new Collections \ToJSON ($ this ->get ())),
222- JSON_THROW_ON_ERROR | JSON_PRETTY_PRINT
225+ (new Collections \ToJSON ($ this ->get ())), JSON_THROW_ON_ERROR | JSON_PRETTY_PRINT
223226 );
224227 }
225228
You can’t perform that action at this time.
0 commit comments