Skip to content

Commit e662ef6

Browse files
committed
removed unused ISupplementalDriver::formatBool()
1 parent 644b587 commit e662ef6

File tree

8 files changed

+0
-68
lines changed

8 files changed

+0
-68
lines changed

src/Database/Drivers/MsSqlDriver.php

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -43,15 +43,6 @@ public function delimite(string $name): string
4343
}
4444

4545

46-
/**
47-
* Formats boolean for use in a SQL statement.
48-
*/
49-
public function formatBool(bool $value): string
50-
{
51-
return $value ? '1' : '0';
52-
}
53-
54-
5546
/**
5647
* Formats date-time for use in a SQL statement.
5748
*/

src/Database/Drivers/MySqlDriver.php

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -80,15 +80,6 @@ public function delimite(string $name): string
8080
}
8181

8282

83-
/**
84-
* Formats boolean for use in a SQL statement.
85-
*/
86-
public function formatBool(bool $value): string
87-
{
88-
return $value ? '1' : '0';
89-
}
90-
91-
9283
/**
9384
* Formats date-time for use in a SQL statement.
9485
*/

src/Database/Drivers/OciDriver.php

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -64,15 +64,6 @@ public function delimite(string $name): string
6464
}
6565

6666

67-
/**
68-
* Formats boolean for use in a SQL statement.
69-
*/
70-
public function formatBool(bool $value): string
71-
{
72-
return $value ? '1' : '0';
73-
}
74-
75-
7667
/**
7768
* Formats date-time for use in a SQL statement.
7869
*/

src/Database/Drivers/OdbcDriver.php

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -42,15 +42,6 @@ public function delimite(string $name): string
4242
}
4343

4444

45-
/**
46-
* Formats boolean for use in a SQL statement.
47-
*/
48-
public function formatBool(bool $value): string
49-
{
50-
return $value ? '1' : '0';
51-
}
52-
53-
5445
/**
5546
* Formats date-time for use in a SQL statement.
5647
*/

src/Database/Drivers/PgSqlDriver.php

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -66,15 +66,6 @@ public function delimite(string $name): string
6666
}
6767

6868

69-
/**
70-
* Formats boolean for use in a SQL statement.
71-
*/
72-
public function formatBool(bool $value): string
73-
{
74-
return $value ? 'TRUE' : 'FALSE';
75-
}
76-
77-
7869
/**
7970
* Formats date-time for use in a SQL statement.
8071
*/

src/Database/Drivers/SqliteDriver.php

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -74,15 +74,6 @@ public function delimite(string $name): string
7474
}
7575

7676

77-
/**
78-
* Formats boolean for use in a SQL statement.
79-
*/
80-
public function formatBool(bool $value): string
81-
{
82-
return $value ? '1' : '0';
83-
}
84-
85-
8677
/**
8778
* Formats date-time for use in a SQL statement.
8879
*/

src/Database/Drivers/SqlsrvDriver.php

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -52,15 +52,6 @@ public function delimite(string $name): string
5252
}
5353

5454

55-
/**
56-
* Formats boolean for use in a SQL statement.
57-
*/
58-
public function formatBool(bool $value): string
59-
{
60-
return $value ? '1' : '0';
61-
}
62-
63-
6455
/**
6556
* Formats date-time for use in a SQL statement.
6657
*/

src/Database/ISupplementalDriver.php

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,6 @@ function convertException(\PDOException $e): DriverException;
3434
*/
3535
function delimite(string $name): string;
3636

37-
/**
38-
* Formats boolean for use in a SQL statement.
39-
*/
40-
function formatBool(bool $value): string;
41-
4237
/**
4338
* Formats date-time for use in a SQL statement.
4439
*/

0 commit comments

Comments
 (0)