-
Notifications
You must be signed in to change notification settings - Fork 444
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
#7690 Bump Smarty; add ADODB annotation patch
- Loading branch information
Showing
3 changed files
with
93 additions
and
16 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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 |
---|---|---|
@@ -0,0 +1,73 @@ | ||
diff -u -r -N adodb.inc.php adodb.inc.php | ||
--- adodb.inc.php 2022-02-14 15:31:50.334270612 -0800 | ||
+++ adodb.inc.php 2022-02-14 15:33:35.659110592 -0800 | ||
@@ -3136,20 +3136,25 @@ | ||
$this->rs = $rs; | ||
} | ||
|
||
+ #[\ReturnTypeWillChange] | ||
function rewind() {} | ||
|
||
+ #[\ReturnTypeWillChange] | ||
function valid() { | ||
return !$this->rs->EOF; | ||
} | ||
|
||
+ #[\ReturnTypeWillChange] | ||
function key() { | ||
return false; | ||
} | ||
|
||
+ #[\ReturnTypeWillChange] | ||
function current() { | ||
return false; | ||
} | ||
|
||
+ #[\ReturnTypeWillChange] | ||
function next() {} | ||
|
||
function __call($func, $params) { | ||
@@ -3201,6 +3206,7 @@ | ||
|
||
function Init() {} | ||
|
||
+ #[\ReturnTypeWillChange] | ||
function getIterator() { | ||
return new ADODB_Iterator_empty($this); | ||
} | ||
@@ -3261,22 +3267,27 @@ | ||
$this->rs = $rs; | ||
} | ||
|
||
+ #[\ReturnTypeWillChange] | ||
function rewind() { | ||
$this->rs->MoveFirst(); | ||
} | ||
|
||
+ #[\ReturnTypeWillChange] | ||
function valid() { | ||
return !$this->rs->EOF; | ||
} | ||
|
||
+ #[\ReturnTypeWillChange] | ||
function key() { | ||
return $this->rs->_currentRow; | ||
} | ||
|
||
+ #[\ReturnTypeWillChange] | ||
function current() { | ||
return $this->rs->fields; | ||
} | ||
|
||
+ #[\ReturnTypeWillChange] | ||
function next() { | ||
$this->rs->MoveNext(); | ||
} | ||
@@ -3353,6 +3364,7 @@ | ||
$this->Close(); | ||
} | ||
|
||
+ #[\ReturnTypeWillChange] | ||
function getIterator() { | ||
return new ADODB_Iterator($this); | ||
} |