Skip to content

Commit 9963f1b

Browse files
committed
Minor cleanup
Signed-off-by: Joey Smith <jsmith@webinertia.net> Signed-off-by: Joey Smith <jsmith@webinertia.net>
1 parent 2c9828b commit 9963f1b

File tree

2 files changed

+2
-11
lines changed

2 files changed

+2
-11
lines changed

src/Driver/Mysqli/Mysqli.php

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -66,16 +66,6 @@ public function getProfiler(): ?ProfilerInterface
6666
return $this->profiler;
6767
}
6868

69-
/**
70-
* Register connection
71-
*
72-
* @deprecated as of 3.0.0, this method is no longer used.
73-
*/
74-
public function registerConnection(ConnectionInterface $connection): DriverInterface
75-
{
76-
return $this;
77-
}
78-
7969
/**
8070
* Get statement prototype
8171
*/
@@ -138,7 +128,7 @@ public function createStatement($sqlOrResource = null): StatementInterface&State
138128
/**
139129
* Create result
140130
*
141-
* @param resource $resource
131+
* @param \mysqli|mysqli_result|mysqli_stmt $resource
142132
*/
143133
public function createResult($resource, ?bool $isBuffered = null): ResultInterface&Result
144134
{

src/Driver/Pdo/Pdo.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ public function createResult($resource): ResultInterface
2323
{
2424
/** @var Result $result */
2525
$result = clone $this->resultPrototype;
26+
2627
/** @var null $rowCount */
2728
$rowCount = null;
2829

0 commit comments

Comments
 (0)