Skip to content
This repository has been archived by the owner on Jan 8, 2020. It is now read-only.

Commit

Permalink
Fix: Remove unused parameter and class property
Browse files Browse the repository at this point in the history
  • Loading branch information
localheinz committed Nov 23, 2014
1 parent bbc6944 commit 561f927
Showing 1 changed file with 1 addition and 11 deletions.
12 changes: 1 addition & 11 deletions library/Zend/Db/Adapter/Driver/Oci8/Oci8.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,27 +35,17 @@ class Oci8 implements DriverInterface, Profiler\ProfilerAwareInterface
*/
protected $profiler = null;

/**
* @var array
*/
protected $options = array(

);

/**
* @param array|Connection|\oci8 $connection
* @param null|Statement $statementPrototype
* @param null|Result $resultPrototype
* @param array $options
*/
public function __construct($connection, Statement $statementPrototype = null, Result $resultPrototype = null, array $options = array())
public function __construct($connection, Statement $statementPrototype = null, Result $resultPrototype = null)
{
if (!$connection instanceof Connection) {
$connection = new Connection($connection);
}

$options = array_intersect_key(array_merge($this->options, $options), $this->options);

$this->registerConnection($connection);
$this->registerStatementPrototype(($statementPrototype) ?: new Statement());
$this->registerResultPrototype(($resultPrototype) ?: new Result());
Expand Down

0 comments on commit 561f927

Please sign in to comment.