9
9
* @contact group@hyperf.io
10
10
* @license https://github.com/hyperf/hyperf/blob/master/LICENSE
11
11
*/
12
+
12
13
namespace Hyperf \Database \SQLite ;
13
14
14
15
use Closure ;
16
+ use Doctrine \DBAL \Driver \PDO \SQLite \Driver ;
15
17
use Doctrine \DBAL \Driver \PDO \SQLite \Driver as DoctrineDriver ;
16
18
use Hyperf \Database \Connection ;
17
19
use Hyperf \Database \Query \Grammars \Grammar as HyperfQueryGrammar ;
18
20
use Hyperf \Database \Query \Processors \Processor ;
19
21
use Hyperf \Database \Schema \Builder as SchemaBuilder ;
20
22
use Hyperf \Database \Schema \Grammars \Grammar as HyperfSchemaGrammar ;
23
+ use Hyperf \Database \SQLite \Query \Grammars \SQLiteGrammar ;
21
24
use Hyperf \Database \SQLite \Query \Grammars \SQLiteGrammar as QueryGrammar ;
22
25
use Hyperf \Database \SQLite \Query \Processors \SQLiteProcessor ;
23
26
use Hyperf \Database \SQLite \Schema \Grammars \SQLiteGrammar as SchemaGrammar ;
@@ -51,7 +54,7 @@ public function __construct($pdo, $database = '', $tablePrefix = '', array $conf
51
54
/**
52
55
* Get a schema builder instance for the connection.
53
56
*
54
- * @return \Hyperf\Database\SQLite\Schema\ SQLiteBuilder
57
+ * @return SQLiteBuilder
55
58
*/
56
59
public function getSchemaBuilder (): SchemaBuilder
57
60
{
@@ -65,7 +68,7 @@ public function getSchemaBuilder(): SchemaBuilder
65
68
/**
66
69
* Get the default query grammar instance.
67
70
*
68
- * @return \Hyperf\Database\SQLite\Query\Grammars\ SQLiteGrammar
71
+ * @return SQLiteGrammar
69
72
*/
70
73
protected function getDefaultQueryGrammar (): HyperfQueryGrammar
71
74
{
@@ -76,7 +79,7 @@ protected function getDefaultQueryGrammar(): HyperfQueryGrammar
76
79
/**
77
80
* Get the default schema grammar instance.
78
81
*
79
- * @return \Hyperf\Database\SQLite\Schema\Grammars\SQLiteGrammar
82
+ * @return SchemaGrammar
80
83
*/
81
84
protected function getDefaultSchemaGrammar (): HyperfSchemaGrammar
82
85
{
@@ -87,7 +90,7 @@ protected function getDefaultSchemaGrammar(): HyperfSchemaGrammar
87
90
/**
88
91
* Get the default post processor instance.
89
92
*
90
- * @return \Hyperf\Database\SQLite\Query\Processors\ SQLiteProcessor
93
+ * @return SQLiteProcessor
91
94
*/
92
95
protected function getDefaultPostProcessor (): Processor
93
96
{
@@ -97,7 +100,7 @@ protected function getDefaultPostProcessor(): Processor
97
100
/**
98
101
* Get the Doctrine DBAL driver.
99
102
*
100
- * @return \Doctrine\DBAL\Driver\PDO\SQLite\ Driver
103
+ * @return Driver
101
104
*/
102
105
protected function getDoctrineDriver ()
103
106
{
0 commit comments