Skip to content

Commit

Permalink
PHPDoc: fix ADOConnection::execute() return type
Browse files Browse the repository at this point in the history
Remove redundant PHPDoc block in child classes ADODB_mysqli, ADODB_oci8.

Fixes #964
  • Loading branch information
dregad committed Apr 29, 2023
1 parent b881dea commit aef9e94
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 21 deletions.
2 changes: 1 addition & 1 deletion adodb.inc.php
Expand Up @@ -1466,7 +1466,7 @@ function HasFailedTrans() {
* @param array|bool $inputarr holds the input data to bind to.
* Null elements will be set to null.
*
* @return ADORecordSet|bool
* @return ADORecordSet|false
*/
public function Execute($sql, $inputarr = false) {
if ($this->fnExecute) {
Expand Down
10 changes: 0 additions & 10 deletions drivers/adodb-mysqli.inc.php
Expand Up @@ -1091,16 +1091,6 @@ function Prepare($sql)
return array($sql,$stmt);
}

/**
* Execute SQL
*
* @param string $sql SQL statement to execute, or possibly an array
* holding prepared statement ($sql[0] will hold sql text)
* @param array|bool $inputarr holds the input data to bind to.
* Null elements will be set to null.
*
* @return ADORecordSet|bool
*/
public function execute($sql, $inputarr = false)
{
if ($this->fnExecute) {
Expand Down
10 changes: 0 additions & 10 deletions drivers/adodb-oci8.inc.php
Expand Up @@ -971,16 +971,6 @@ function UpdateBlobFile($table,$column,$val,$where,$blobtype='BLOB')
return $rez;
}

/**
* Execute SQL
*
* @param string|array $sql SQL statement to execute, or possibly an array holding
* prepared statement ($sql[0] will hold sql text).
* @param array|false $inputarr holds the input data to bind to.
* Null elements will be set to null.
*
* @return ADORecordSet|false
*/
function Execute($sql,$inputarr=false)
{
if ($this->fnExecute) {
Expand Down

0 comments on commit aef9e94

Please sign in to comment.