@@ -47,7 +47,7 @@ discard block |
||
| 47 | 47 | /** |
| 48 | 48 | * @var array |
| 49 | 49 | */ |
| 50 | - private $parameters = []; |
|
| 50 | + private $parameters = [ ]; |
|
| 51 | 51 | |
| 52 | 52 | /** |
| 53 | 53 | * @var string; |
@@ -101,7 +101,7 @@ discard block |
||
| 101 | 101 | $column = null; |
| 102 | 102 | |
| 103 | 103 | foreach ( $Columns as $cells ) { |
| 104 | - $column[] = $cells[ 0 ]; |
|
| 104 | + $column[ ] = $cells[ 0 ]; |
|
| 105 | 105 | } |
| 106 | 106 | |
| 107 | 107 | return $column; |
@@ -176,7 +176,7 @@ discard block |
||
| 176 | 176 | * @param array $parameters |
| 177 | 177 | * @throws DbException |
| 178 | 178 | */ |
| 179 | - private function queryInit( $query, $parameters = [] ) |
|
| 179 | + private function queryInit( $query, $parameters = [ ] ) |
|
| 180 | 180 | { |
| 181 | 181 | $this->lastStatement = self::getQueryStatement( $query ); |
| 182 | 182 | $this->pdo = DbConnect::getInstance()->getConnection( $this->lastStatement ); |
@@ -196,7 +196,7 @@ discard block |
||
| 196 | 196 | $this->bindMore( $parameters ); |
| 197 | 197 | else |
| 198 | 198 | foreach ( $parameters as $key => $val ) |
| 199 | - $this->parameters[] = array( $key + 1, $val ); |
|
| 199 | + $this->parameters[ ] = array( $key + 1, $val ); |
|
| 200 | 200 | |
| 201 | 201 | if ( count( $this->parameters ) ) { |
| 202 | 202 | foreach ( $this->parameters as $param => $value ) { |