Edit File by line
/home/barbar84/public_h.../wp-conte.../plugins/worker/src/MWP/Incremen.../Database
File: PdoStatement.php
<?php
[0] Fix | Delete
/*
[1] Fix | Delete
* This file is part of the ManageWP Worker plugin.
[2] Fix | Delete
*
[3] Fix | Delete
* (c) ManageWP LLC <contact@managewp.com>
[4] Fix | Delete
*
[5] Fix | Delete
* For the full copyright and license information, please view the LICENSE
[6] Fix | Delete
* file that was distributed with this source code.
[7] Fix | Delete
*/
[8] Fix | Delete
[9] Fix | Delete
class MWP_IncrementalBackup_Database_PdoStatement implements MWP_IncrementalBackup_Database_StatementInterface
[10] Fix | Delete
{
[11] Fix | Delete
[12] Fix | Delete
/**
[13] Fix | Delete
* @var PDOStatement
[14] Fix | Delete
*/
[15] Fix | Delete
private $statement;
[16] Fix | Delete
[17] Fix | Delete
public function __construct(PDOStatement $statement)
[18] Fix | Delete
{
[19] Fix | Delete
$this->statement = $statement;
[20] Fix | Delete
}
[21] Fix | Delete
[22] Fix | Delete
/**
[23] Fix | Delete
* {@inheritdoc}
[24] Fix | Delete
*/
[25] Fix | Delete
public function fetch()
[26] Fix | Delete
{
[27] Fix | Delete
return $this->statement->fetch();
[28] Fix | Delete
}
[29] Fix | Delete
[30] Fix | Delete
/**
[31] Fix | Delete
* {@inheritdoc}
[32] Fix | Delete
*/
[33] Fix | Delete
public function fetchAll()
[34] Fix | Delete
{
[35] Fix | Delete
return $this->statement->fetchAll();
[36] Fix | Delete
}
[37] Fix | Delete
[38] Fix | Delete
/**
[39] Fix | Delete
* {@inheritdoc}
[40] Fix | Delete
*/
[41] Fix | Delete
public function close()
[42] Fix | Delete
{
[43] Fix | Delete
return $this->statement->closeCursor();
[44] Fix | Delete
}
[45] Fix | Delete
}
[46] Fix | Delete
[47] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function