99 * @contact group@hyperf.io
1010 * @license https://github.com/hyperf/hyperf/blob/master/LICENSE
1111 */
12+
1213namespace Hyperf \Database \SQLite ;
1314
1415use Closure ;
16+ use Doctrine \DBAL \Driver \PDO \SQLite \Driver ;
1517use Doctrine \DBAL \Driver \PDO \SQLite \Driver as DoctrineDriver ;
1618use Hyperf \Database \Connection ;
1719use Hyperf \Database \Query \Grammars \Grammar as HyperfQueryGrammar ;
1820use Hyperf \Database \Query \Processors \Processor ;
1921use Hyperf \Database \Schema \Builder as SchemaBuilder ;
2022use Hyperf \Database \Schema \Grammars \Grammar as HyperfSchemaGrammar ;
23+ use Hyperf \Database \SQLite \Query \Grammars \SQLiteGrammar ;
2124use Hyperf \Database \SQLite \Query \Grammars \SQLiteGrammar as QueryGrammar ;
2225use Hyperf \Database \SQLite \Query \Processors \SQLiteProcessor ;
2326use Hyperf \Database \SQLite \Schema \Grammars \SQLiteGrammar as SchemaGrammar ;
@@ -51,7 +54,7 @@ public function __construct($pdo, $database = '', $tablePrefix = '', array $conf
5154 /**
5255 * Get a schema builder instance for the connection.
5356 *
54- * @return \Hyperf\Database\SQLite\Schema\ SQLiteBuilder
57+ * @return SQLiteBuilder
5558 */
5659 public function getSchemaBuilder (): SchemaBuilder
5760 {
@@ -65,7 +68,7 @@ public function getSchemaBuilder(): SchemaBuilder
6568 /**
6669 * Get the default query grammar instance.
6770 *
68- * @return \Hyperf\Database\SQLite\Query\Grammars\ SQLiteGrammar
71+ * @return SQLiteGrammar
6972 */
7073 protected function getDefaultQueryGrammar (): HyperfQueryGrammar
7174 {
@@ -76,7 +79,7 @@ protected function getDefaultQueryGrammar(): HyperfQueryGrammar
7679 /**
7780 * Get the default schema grammar instance.
7881 *
79- * @return \Hyperf\Database\SQLite\Schema\Grammars\SQLiteGrammar
82+ * @return SchemaGrammar
8083 */
8184 protected function getDefaultSchemaGrammar (): HyperfSchemaGrammar
8285 {
@@ -87,7 +90,7 @@ protected function getDefaultSchemaGrammar(): HyperfSchemaGrammar
8790 /**
8891 * Get the default post processor instance.
8992 *
90- * @return \Hyperf\Database\SQLite\Query\Processors\ SQLiteProcessor
93+ * @return SQLiteProcessor
9194 */
9295 protected function getDefaultPostProcessor (): Processor
9396 {
@@ -97,7 +100,7 @@ protected function getDefaultPostProcessor(): Processor
97100 /**
98101 * Get the Doctrine DBAL driver.
99102 *
100- * @return \Doctrine\DBAL\Driver\PDO\SQLite\ Driver
103+ * @return Driver
101104 */
102105 protected function getDoctrineDriver ()
103106 {
0 commit comments