Navigation Menu

Skip to content

Commit

Permalink
Update doc blocks.
Browse files Browse the repository at this point in the history
  • Loading branch information
markstory committed Apr 13, 2014
1 parent e32fcf4 commit d26d7b5
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/Database/Connection.php
Expand Up @@ -21,7 +21,7 @@
use Cake\Database\Log\LoggingStatement;
use Cake\Database\Log\QueryLogger;
use Cake\Database\Query;
use Cake\Database\Querycompiler;
use Cake\Database\QueryCompiler;
use Cake\Database\ValueBinder;

/**
Expand Down Expand Up @@ -229,11 +229,11 @@ public function execute($query, array $params = [], array $types = []) {
}

/**
* Copiles a Query object into a SQL string according to the dialect for this
* Compiles a Query object into a SQL string according to the dialect for this
* connection's driver
*
* @param Cake\Database\$query The query to be compiled
* @param ValueBinder $generator The placeholder generator to use
* @param \Cake\Database\Query $query The query to be compiled
* @param \Cake\Database\ValueBinder $generator The placeholder generator to use
* @return string
*/
public function compileQuery(Query $query, ValueBinder $generator) {
Expand All @@ -244,7 +244,7 @@ public function compileQuery(Query $query, ValueBinder $generator) {
* Executes the provided query after compiling it for the specific dirver
* dialect and returns the executed Statement object.
*
* @param Cake\Database\$query The query to be executed
* @param \Cake\Database\Query $query The query to be executed
* @return \Cake\Database\StatementInterface executed statement
*/
public function run(Query $query) {
Expand All @@ -260,7 +260,7 @@ public function run(Query $query) {
}

/**
* Traverses all QueryExpression objects stored in every relevant for the passed
* Traverses all QueryExpression objects stored in every relevant expression for the passed
* type of query and binds every value to the statement object for each placeholder.
*
* @param \Cake\Database\ValueBinder $binder the object containing the bindings
Expand Down

0 comments on commit d26d7b5

Please sign in to comment.