Commit 3d34f266 authored by guilhermeblanco's avatar guilhermeblanco

[2.0][DDC-395] Applied the provided patch of Jordi Boggiano removing some...

[2.0][DDC-395] Applied the provided patch of Jordi Boggiano removing some trailing whitespaces and fixing missing public keywords
parent c680b8fe
......@@ -95,7 +95,7 @@ class TableDiff
/**
* All added foreign key definitions
*
*
* @var array
*/
public $addedForeignKeys = array();
......@@ -119,14 +119,14 @@ class TableDiff
*
* @param array(string=>Column) $addedColumns
* @param array(string=>Column) $changedColumns
* @param array(string=>bool) $removedColumns
* @param array(string=>Index) $addedIndexes
* @param array(string=>Index) $changedIndexes
* @param array(string=>bool) $removedIndexes
* @param array(string=>bool) $removedColumns
* @param array(string=>Index) $addedIndexes
* @param array(string=>Index) $changedIndexes
* @param array(string=>bool) $removedIndexes
*/
function __construct( $tableName, $addedColumns = array(), $changedColumns = array(),
$removedColumns = array(), $addedIndexes = array(), $changedIndexes =
array(), $removedIndexes = array() )
public function __construct($tableName, $addedColumns = array(),
$changedColumns = array(), $removedColumns = array(), $addedIndexes = array(),
$changedIndexes = array(), $removedIndexes = array())
{
$this->name = $tableName;
$this->addedColumns = $addedColumns;
......
......@@ -23,7 +23,7 @@ namespace Doctrine\ORM\Query;
/**
* Interface for walkers of DQL ASTs (abstract syntax trees).
*
*
* @author Roman Borschel <roman@code-factory.org>
* @since 2.0
*/
......@@ -36,8 +36,8 @@ interface TreeWalker
* @param ParserResult $parserResult The result of the parsing process.
* @param array $queryComponents Query components (symbol table)
*/
function __construct($query, $parserResult, array $queryComponents);
public function __construct($query, $parserResult, array $queryComponents);
/**
* Walks down a SelectStatement AST node, thereby generating the appropriate SQL.
*
......@@ -241,7 +241,7 @@ interface TreeWalker
* @return string The SQL.
*/
function walkExistsExpression($existsExpr);
/**
* Walks down a CollectionMemberExpression AST node, thereby generating the appropriate SQL.
*
......@@ -249,7 +249,7 @@ interface TreeWalker
* @return string The SQL.
*/
function walkCollectionMemberExpression($collMemberExpr);
/**
* Walks down an EmptyCollectionComparisonExpression AST node, thereby generating the appropriate SQL.
*
......@@ -369,10 +369,10 @@ interface TreeWalker
* @return string The SQL.
*/
function walkPathExpression($pathExpr);
/**
* Gets an executor that can be used to execute the result of this walker.
*
*
* @return AbstractExecutor
*/
function getExecutor($AST);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment