diff --git a/src/AbstractQuery.php b/src/AbstractQuery.php index 3b0ed8e..3ef92bc 100644 --- a/src/AbstractQuery.php +++ b/src/AbstractQuery.php @@ -61,7 +61,7 @@ abstract class AbstractQuery * * A helper for quoting identifier names. * - * @var Quoter + * @var Common\Quoter * */ protected $quoter; @@ -70,7 +70,7 @@ abstract class AbstractQuery * * A builder for the query. * - * @var AbstractBuilder + * @var Common\AbstractBuilder * */ protected $builder; @@ -79,9 +79,9 @@ abstract class AbstractQuery * * Constructor. * - * @param Quoter $quoter A helper for quoting identifier names. + * @param Common\Quoter $quoter A helper for quoting identifier names. * - * @param AbstractBuilder $builder A builder for the query. + * @param Common\AbstractBuilder $builder A builder for the query. * */ public function __construct(QuoterInterface $quoter, $builder) diff --git a/src/Common/Delete.php b/src/Common/Delete.php index 859393c..f6dc5ac 100644 --- a/src/Common/Delete.php +++ b/src/Common/Delete.php @@ -34,14 +34,14 @@ class Delete extends AbstractDmlQuery implements DeleteInterface * * Sets the table to delete from. * - * @param string $table The table to delete from. + * @param string $from The table to delete from. * * @return $this * */ - public function from($table) + public function from($from) { - $this->from = $this->quoter->quoteName($table); + $this->from = $this->quoter->quoteName($from); return $this; } diff --git a/src/QueryFactory.php b/src/QueryFactory.php index c0e2402..43a4c1f 100644 --- a/src/QueryFactory.php +++ b/src/QueryFactory.php @@ -172,7 +172,7 @@ protected function newInstance($query) * * @param string $query The query type. * - * @return AbstractBuilder + * @return Common\AbstractBuilder * */ protected function newBuilder($query) @@ -188,7 +188,7 @@ protected function newBuilder($query) * * Returns the Quoter object for queries; creates one if needed. * - * @return Quoter + * @return Common\Quoter * */ protected function getQuoter() @@ -203,7 +203,7 @@ protected function getQuoter() * * Returns a new Quoter for the database driver. * - * @return QuoterInerface + * @return Common\QuoterInterface * */ protected function newQuoter()