-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Format code by the latest
cs-fixer
. (#6617)
- Loading branch information
1 parent
a5f2516
commit e9a9110
Showing
12 changed files
with
20 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,6 +9,7 @@ | |
* @contact [email protected] | ||
* @license https://github.com/hyperf/hyperf/blob/master/LICENSE | ||
*/ | ||
|
||
namespace Hyperf\Database\SQLite; | ||
|
||
use Hyperf\Database\SQLite\Connectors\SQLiteConnector; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,6 +9,7 @@ | |
* @contact [email protected] | ||
* @license https://github.com/hyperf/hyperf/blob/master/LICENSE | ||
*/ | ||
|
||
namespace Hyperf\Database\SQLite\Connectors; | ||
|
||
use Hyperf\Database\Connectors\Connector; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,6 +9,7 @@ | |
* @contact [email protected] | ||
* @license https://github.com/hyperf/hyperf/blob/master/LICENSE | ||
*/ | ||
|
||
namespace Hyperf\Database\SQLite\Listener; | ||
|
||
use Hyperf\Context\ApplicationContext; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,6 +9,7 @@ | |
* @contact [email protected] | ||
* @license https://github.com/hyperf/hyperf/blob/master/LICENSE | ||
*/ | ||
|
||
namespace Hyperf\Database\SQLite\Query\Grammars; | ||
|
||
use Hyperf\Collection\Arr; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,6 +9,7 @@ | |
* @contact [email protected] | ||
* @license https://github.com/hyperf/hyperf/blob/master/LICENSE | ||
*/ | ||
|
||
namespace Hyperf\Database\SQLite\Query\Processors; | ||
|
||
use Hyperf\Database\Query\Processors\Processor; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,15 +9,18 @@ | |
* @contact [email protected] | ||
* @license https://github.com/hyperf/hyperf/blob/master/LICENSE | ||
*/ | ||
|
||
namespace Hyperf\Database\SQLite; | ||
|
||
use Closure; | ||
use Doctrine\DBAL\Driver\PDO\SQLite\Driver; | ||
use Doctrine\DBAL\Driver\PDO\SQLite\Driver as DoctrineDriver; | ||
use Hyperf\Database\Connection; | ||
use Hyperf\Database\Query\Grammars\Grammar as HyperfQueryGrammar; | ||
use Hyperf\Database\Query\Processors\Processor; | ||
use Hyperf\Database\Schema\Builder as SchemaBuilder; | ||
use Hyperf\Database\Schema\Grammars\Grammar as HyperfSchemaGrammar; | ||
use Hyperf\Database\SQLite\Query\Grammars\SQLiteGrammar; | ||
use Hyperf\Database\SQLite\Query\Grammars\SQLiteGrammar as QueryGrammar; | ||
use Hyperf\Database\SQLite\Query\Processors\SQLiteProcessor; | ||
use Hyperf\Database\SQLite\Schema\Grammars\SQLiteGrammar as SchemaGrammar; | ||
|
@@ -51,7 +54,7 @@ public function __construct($pdo, $database = '', $tablePrefix = '', array $conf | |
/** | ||
* Get a schema builder instance for the connection. | ||
* | ||
* @return \Hyperf\Database\SQLite\Schema\SQLiteBuilder | ||
* @return SQLiteBuilder | ||
*/ | ||
public function getSchemaBuilder(): SchemaBuilder | ||
{ | ||
|
@@ -65,7 +68,7 @@ public function getSchemaBuilder(): SchemaBuilder | |
/** | ||
* Get the default query grammar instance. | ||
* | ||
* @return \Hyperf\Database\SQLite\Query\Grammars\SQLiteGrammar | ||
* @return SQLiteGrammar | ||
*/ | ||
protected function getDefaultQueryGrammar(): HyperfQueryGrammar | ||
{ | ||
|
@@ -76,7 +79,7 @@ protected function getDefaultQueryGrammar(): HyperfQueryGrammar | |
/** | ||
* Get the default schema grammar instance. | ||
* | ||
* @return \Hyperf\Database\SQLite\Schema\Grammars\SQLiteGrammar | ||
* @return SchemaGrammar | ||
*/ | ||
protected function getDefaultSchemaGrammar(): HyperfSchemaGrammar | ||
{ | ||
|
@@ -87,7 +90,7 @@ protected function getDefaultSchemaGrammar(): HyperfSchemaGrammar | |
/** | ||
* Get the default post processor instance. | ||
* | ||
* @return \Hyperf\Database\SQLite\Query\Processors\SQLiteProcessor | ||
* @return SQLiteProcessor | ||
*/ | ||
protected function getDefaultPostProcessor(): Processor | ||
{ | ||
|
@@ -97,7 +100,7 @@ protected function getDefaultPostProcessor(): Processor | |
/** | ||
* Get the Doctrine DBAL driver. | ||
* | ||
* @return \Doctrine\DBAL\Driver\PDO\SQLite\Driver | ||
* @return Driver | ||
*/ | ||
protected function getDoctrineDriver() | ||
{ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,6 +9,7 @@ | |
* @contact [email protected] | ||
* @license https://github.com/hyperf/hyperf/blob/master/LICENSE | ||
*/ | ||
|
||
namespace Hyperf\Database\SQLite\Schema\Grammars; | ||
|
||
use Hyperf\Collection\Arr; | ||
|
@@ -581,7 +582,7 @@ protected function addForeignKeys(Blueprint $blueprint): ?string | |
/** | ||
* Get the SQL for the foreign key. | ||
* | ||
* @param \Hyperf\Support\Fluent $foreign | ||
* @param Fluent $foreign | ||
*/ | ||
protected function getForeignKey($foreign): string | ||
{ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,6 +9,7 @@ | |
* @contact [email protected] | ||
* @license https://github.com/hyperf/hyperf/blob/master/LICENSE | ||
*/ | ||
|
||
namespace Hyperf\Database\SQLite\Schema; | ||
|
||
use Hyperf\Context\ApplicationContext; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,6 +9,7 @@ | |
* @contact [email protected] | ||
* @license https://github.com/hyperf/hyperf/blob/master/LICENSE | ||
*/ | ||
|
||
namespace HyperfTest\Database\SQLite; | ||
|
||
use Hyperf\Context\ApplicationContext; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,6 +9,7 @@ | |
* @contact [email protected] | ||
* @license https://github.com/hyperf/hyperf/blob/master/LICENSE | ||
*/ | ||
|
||
namespace HyperfTest\Database\SQLite; | ||
|
||
use Hyperf\Database\Schema\Column; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,6 +9,7 @@ | |
* @contact [email protected] | ||
* @license https://github.com/hyperf/hyperf/blob/master/LICENSE | ||
*/ | ||
|
||
namespace HyperfTest\Database\SQLite; | ||
|
||
use Hyperf\Database\Connection; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,6 +9,7 @@ | |
* @contact [email protected] | ||
* @license https://github.com/hyperf/hyperf/blob/master/LICENSE | ||
*/ | ||
|
||
namespace HyperfTest\Database\SQLite; | ||
|
||
use Hyperf\Collection\Collection; | ||
|