diff --git a/system/database/Databases/Connectors/Oracle/ORDS/Api/Query.php b/system/database/Databases/Connectors/Oracle/ORDS/Api/Query.php index 00d0e11..4141d54 100644 --- a/system/database/Databases/Connectors/Oracle/ORDS/Api/Query.php +++ b/system/database/Databases/Connectors/Oracle/ORDS/Api/Query.php @@ -7,7 +7,7 @@ * @author Bruno O. Notario */ -namespace Phacil\Framework\Databases\Conectors\Oracle\ORDS\Api; +namespace Phacil\Framework\Databases\Connectors\Oracle\ORDS\Api; interface Query { /** diff --git a/system/database/Databases/Connectors/Oracle/ORDS/Connector.php b/system/database/Databases/Connectors/Oracle/ORDS/Connector.php index 046b63f..aa437c9 100644 --- a/system/database/Databases/Connectors/Oracle/ORDS/Connector.php +++ b/system/database/Databases/Connectors/Oracle/ORDS/Connector.php @@ -7,11 +7,11 @@ * @author Bruno O. Notario */ -namespace Phacil\Framework\Databases\Conectors\Oracle\ORDS; +namespace Phacil\Framework\Databases\Connectors\Oracle\ORDS; /** * @since 2.0.0 - * @package Phacil\Framework\Databases\Conectors\Oracle\ORDS + * @package Phacil\Framework\Databases\Connectors\Oracle\ORDS */ class Connector { diff --git a/system/database/Databases/Connectors/Oracle/ORDS/Helper/Data.php b/system/database/Databases/Connectors/Oracle/ORDS/Helper/Data.php index d81fa53..f4684cd 100644 --- a/system/database/Databases/Connectors/Oracle/ORDS/Helper/Data.php +++ b/system/database/Databases/Connectors/Oracle/ORDS/Helper/Data.php @@ -7,11 +7,11 @@ * @author Bruno O. Notario */ -namespace Phacil\Framework\Databases\Conectors\Oracle\ORDS\Helper; +namespace Phacil\Framework\Databases\Connectors\Oracle\ORDS\Helper; /** * @since 2.0.0 - * @package Phacil\Framework\Databases\Conectors\Oracle\ORDS + * @package Phacil\Framework\Databases\Connectors\Oracle\ORDS */ class Data extends \Phacil\Framework\AbstractHelper { diff --git a/system/database/Databases/Connectors/Oracle/ORDS/Model/Handler/Curl.php b/system/database/Databases/Connectors/Oracle/ORDS/Model/Handler/Curl.php index 8294ef9..09a56aa 100644 --- a/system/database/Databases/Connectors/Oracle/ORDS/Model/Handler/Curl.php +++ b/system/database/Databases/Connectors/Oracle/ORDS/Model/Handler/Curl.php @@ -7,15 +7,15 @@ * @author Bruno O. Notario */ -namespace Phacil\Framework\Databases\Conectors\Oracle\ORDS\Model\Handler; +namespace Phacil\Framework\Databases\Connectors\Oracle\ORDS\Model\Handler; -use Phacil\Framework\Databases\Conectors\Oracle\ORDS\Api\HandleInterface; -use Phacil\Framework\Databases\Conectors\Oracle\ORDS\Connector; +use Phacil\Framework\Databases\Connectors\Oracle\ORDS\Api\HandleInterface; +use Phacil\Framework\Databases\Connectors\Oracle\ORDS\Connector; /** * Tested with Apex 23+ * - * @package Phacil\Framework\Databases\Conectors\Oracle\ORDS\Model\Handler + * @package Phacil\Framework\Databases\Connectors\Oracle\ORDS\Model\Handler */ class Curl implements HandleInterface { /** @@ -25,7 +25,7 @@ class Curl implements HandleInterface { private $curl; /** - * @var \Phacil\Framework\Databases\Conectors\Oracle\ORDS\Connector + * @var \Phacil\Framework\Databases\Connectors\Oracle\ORDS\Connector */ private $conector; diff --git a/system/database/Databases/Connectors/Oracle/ORDS/Model/Query.php b/system/database/Databases/Connectors/Oracle/ORDS/Model/Query.php index 2828c12..c0fef92 100644 --- a/system/database/Databases/Connectors/Oracle/ORDS/Model/Query.php +++ b/system/database/Databases/Connectors/Oracle/ORDS/Model/Query.php @@ -7,24 +7,24 @@ * @author Bruno O. Notario */ -namespace Phacil\Framework\Databases\Conectors\Oracle\ORDS\Model; +namespace Phacil\Framework\Databases\Connectors\Oracle\ORDS\Model; -use Phacil\Framework\Databases\Conectors\Oracle\ORDS\Connector; -use Phacil\Framework\Databases\Conectors\Oracle\ORDS\Api\HandleInterface; -use Phacil\Framework\Databases\Conectors\Oracle\ORDS\Api\Query as QueryApi; -use Phacil\Framework\Databases\Conectors\Oracle\ORDS\Helper\Data as DataHelper; +use Phacil\Framework\Databases\Connectors\Oracle\ORDS\Connector; +use Phacil\Framework\Databases\Connectors\Oracle\ORDS\Api\HandleInterface; +use Phacil\Framework\Databases\Connectors\Oracle\ORDS\Api\Query as QueryApi; +use Phacil\Framework\Databases\Connectors\Oracle\ORDS\Helper\Data as DataHelper; class Query implements QueryApi { /** * - * @var \Phacil\Framework\Databases\Conectors\Oracle\ORDS\Connector + * @var \Phacil\Framework\Databases\Connectors\Oracle\ORDS\Connector */ private $conector; /** * - * @var \Phacil\Framework\Databases\Conectors\Oracle\ORDS\Api\HandleInterface + * @var \Phacil\Framework\Databases\Connectors\Oracle\ORDS\Api\HandleInterface */ private $handle; @@ -48,13 +48,13 @@ class Query implements QueryApi { /** * - * @var \Phacil\Framework\Databases\Conectors\Oracle\ORDS\Helper\Data + * @var \Phacil\Framework\Databases\Connectors\Oracle\ORDS\Helper\Data */ private $helper; /** - * @param \Phacil\Framework\Databases\Conectors\Oracle\ORDS\Connector $conector - * @param \Phacil\Framework\Databases\Conectors\Oracle\ORDS\Api\HandleInterface $handle + * @param \Phacil\Framework\Databases\Connectors\Oracle\ORDS\Connector $conector + * @param \Phacil\Framework\Databases\Connectors\Oracle\ORDS\Api\HandleInterface $handle * @return $this */ public function __construct( diff --git a/system/database/Databases/Driver/OracleORDS.php b/system/database/Databases/Driver/OracleORDS.php index a76be96..b7e5dea 100644 --- a/system/database/Databases/Driver/OracleORDS.php +++ b/system/database/Databases/Driver/OracleORDS.php @@ -40,13 +40,13 @@ class OracleORDS implements DriverInterface /** * - * @var \Phacil\Framework\Databases\Conectors\Oracle\ORDS\Connector + * @var \Phacil\Framework\Databases\Connectors\Oracle\ORDS\Connector */ private $connection = null; /** * - * @var \Phacil\Framework\Databases\Conectors\Oracle\ORDS\Api\Query + * @var \Phacil\Framework\Databases\Connectors\Oracle\ORDS\Api\Query */ private $statement; @@ -56,8 +56,8 @@ class OracleORDS implements DriverInterface public function __construct($hostname, $username, $password, $database, $port = '8181', $charset = 'UTF8') { try { - /** @var \Phacil\Framework\Databases\Conectors\Oracle\ORDS\Connector */ - $this->connection = \Phacil\Framework\Registry::getInstance()->create(\Phacil\Framework\Databases\Conectors\Oracle\ORDS\Connector::class, [ + /** @var \Phacil\Framework\Databases\Connectors\Oracle\ORDS\Connector */ + $this->connection = \Phacil\Framework\Registry::getInstance()->create(\Phacil\Framework\Databases\Connectors\Oracle\ORDS\Connector::class, [ $hostname.$database, \Phacil\Framework\Config::DB_PORT() ?: $port, $username, @@ -78,8 +78,8 @@ class OracleORDS implements DriverInterface public function createStatement() { $this->rowCount = 0; - /** @var \Phacil\Framework\Databases\Conectors\Oracle\ORDS\Api\Query */ - $this->statement = \Phacil\Framework\Registry::getInstance()->create(\Phacil\Framework\Databases\Conectors\Oracle\ORDS\Api\Query::class); + /** @var \Phacil\Framework\Databases\Connectors\Oracle\ORDS\Api\Query */ + $this->statement = \Phacil\Framework\Registry::getInstance()->create(\Phacil\Framework\Databases\Connectors\Oracle\ORDS\Api\Query::class); } /** {@inheritdoc} */ diff --git a/system/etc/preferences.json b/system/etc/preferences.json index 187d369..bb52a21 100644 --- a/system/etc/preferences.json +++ b/system/etc/preferences.json @@ -13,7 +13,7 @@ "Phacil\\Framework\\Databases\\Api\\LogInterface": "Phacil\\Framework\\Log", "Phacil\\Framework\\Interfaces\\Serializer": "Phacil\\Framework\\Json", "Phacil\\Framework\\MagiQL\\Api\\Factory": "Phacil\\Framework\\MagiQL\\Factory", - "Phacil\\Framework\\Databases\\Conectors\\Oracle\\ORDS\\Api\\HandleInterface": "Phacil\\Framework\\Databases\\Conectors\\Oracle\\ORDS\\Model\\Handler\\Curl", - "Phacil\\Framework\\Databases\\Conectors\\Oracle\\ORDS\\Api\\Query": "Phacil\\Framework\\Databases\\Conectors\\Oracle\\ORDS\\Model\\Query" + "Phacil\\Framework\\Databases\\Connectors\\Oracle\\ORDS\\Api\\HandleInterface": "Phacil\\Framework\\Databases\\Connectors\\Oracle\\ORDS\\Model\\Handler\\Curl", + "Phacil\\Framework\\Databases\\Connectors\\Oracle\\ORDS\\Api\\Query": "Phacil\\Framework\\Databases\\Connectors\\Oracle\\ORDS\\Model\\Query" } } \ No newline at end of file