改名
This commit is contained in:
@@ -11,7 +11,6 @@ declare(strict_types=1);
|
|||||||
namespace Database;
|
namespace Database;
|
||||||
|
|
||||||
|
|
||||||
use JetBrains\PhpStorm\Pure;
|
|
||||||
use ReflectionException;
|
use ReflectionException;
|
||||||
use Snowflake\Abstracts\Component;
|
use Snowflake\Abstracts\Component;
|
||||||
use Database\Mysql\Schema;
|
use Database\Mysql\Schema;
|
||||||
@@ -153,7 +152,7 @@ class Connection extends Component
|
|||||||
* @param $sql
|
* @param $sql
|
||||||
* @return bool
|
* @return bool
|
||||||
*/
|
*/
|
||||||
#[Pure] public function isWrite($sql): bool
|
public function isWrite($sql): bool
|
||||||
{
|
{
|
||||||
if (empty($sql)) return false;
|
if (empty($sql)) return false;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user