@@ -50,9 +50,9 @@ discard block |
||
50 | 50 | public function fetchOneBy(array $where = []) |
51 | 51 | { |
52 | 52 | $queryBuilder = $this->connection->createQueryBuilder() |
53 | - ->select('*') |
|
54 | - ->from(self::TABLE) |
|
55 | - ->setMaxResults(1); |
|
53 | + ->select('*') |
|
54 | + ->from(self::TABLE) |
|
55 | + ->setMaxResults(1); |
|
56 | 56 | |
57 | 57 | if (count($where) > 0) { |
58 | 58 | foreach ($where as $column => $value) { |
@@ -78,8 +78,8 @@ discard block |
||
78 | 78 | public function fetchBy(array $where = []) |
79 | 79 | { |
80 | 80 | $queryBuilder = $this->connection->createQueryBuilder() |
81 | - ->select('*') |
|
82 | - ->from(self::TABLE); |
|
81 | + ->select('*') |
|
82 | + ->from(self::TABLE); |
|
83 | 83 | |
84 | 84 | if (count($where) > 0) { |
85 | 85 | foreach ($where as $column => $value) { |
@@ -121,7 +121,7 @@ |
||
121 | 121 | $databaseArray |
122 | 122 | ); |
123 | 123 | |
124 | - $entity->id = (int) $this->connection->lastInsertId(); |
|
124 | + $entity->id = (int)$this->connection->lastInsertId(); |
|
125 | 125 | |
126 | 126 | return $entity; |
127 | 127 | } |
@@ -50,9 +50,9 @@ discard block |
||
50 | 50 | public function fetchOneBy(array $where = []) |
51 | 51 | { |
52 | 52 | $queryBuilder = $this->connection->createQueryBuilder() |
53 | - ->select('*') |
|
54 | - ->from(self::TABLE) |
|
55 | - ->setMaxResults(1); |
|
53 | + ->select('*') |
|
54 | + ->from(self::TABLE) |
|
55 | + ->setMaxResults(1); |
|
56 | 56 | |
57 | 57 | if (count($where) > 0) { |
58 | 58 | foreach ($where as $column => $value) { |
@@ -78,8 +78,8 @@ discard block |
||
78 | 78 | public function fetchBy(array $where = []) |
79 | 79 | { |
80 | 80 | $queryBuilder = $this->connection->createQueryBuilder() |
81 | - ->select('*') |
|
82 | - ->from(self::TABLE); |
|
81 | + ->select('*') |
|
82 | + ->from(self::TABLE); |
|
83 | 83 | |
84 | 84 | if (count($where) > 0) { |
85 | 85 | foreach ($where as $column => $value) { |
@@ -121,7 +121,7 @@ |
||
121 | 121 | $databaseArray |
122 | 122 | ); |
123 | 123 | |
124 | - $entity->short = (int) $this->connection->lastInsertId(); |
|
124 | + $entity->short = (int)$this->connection->lastInsertId(); |
|
125 | 125 | |
126 | 126 | return $entity; |
127 | 127 | } |
@@ -50,9 +50,9 @@ discard block |
||
50 | 50 | public function fetchOneBy(array $where = []) |
51 | 51 | { |
52 | 52 | $queryBuilder = $this->connection->createQueryBuilder() |
53 | - ->select('*') |
|
54 | - ->from(self::TABLE) |
|
55 | - ->setMaxResults(1); |
|
53 | + ->select('*') |
|
54 | + ->from(self::TABLE) |
|
55 | + ->setMaxResults(1); |
|
56 | 56 | |
57 | 57 | if (count($where) > 0) { |
58 | 58 | foreach ($where as $column => $value) { |
@@ -78,8 +78,8 @@ discard block |
||
78 | 78 | public function fetchBy(array $where = []) |
79 | 79 | { |
80 | 80 | $queryBuilder = $this->connection->createQueryBuilder() |
81 | - ->select('*') |
|
82 | - ->from(self::TABLE); |
|
81 | + ->select('*') |
|
82 | + ->from(self::TABLE); |
|
83 | 83 | |
84 | 84 | if (count($where) > 0) { |
85 | 85 | foreach ($where as $column => $value) { |
@@ -121,7 +121,7 @@ |
||
121 | 121 | $databaseArray |
122 | 122 | ); |
123 | 123 | |
124 | - $entity->id = (int) $this->connection->lastInsertId(); |
|
124 | + $entity->id = (int)$this->connection->lastInsertId(); |
|
125 | 125 | |
126 | 126 | return $entity; |
127 | 127 | } |
@@ -50,9 +50,9 @@ discard block |
||
50 | 50 | public function fetchOneBy(array $where = []) |
51 | 51 | { |
52 | 52 | $queryBuilder = $this->connection->createQueryBuilder() |
53 | - ->select('*') |
|
54 | - ->from(self::TABLE) |
|
55 | - ->setMaxResults(1); |
|
53 | + ->select('*') |
|
54 | + ->from(self::TABLE) |
|
55 | + ->setMaxResults(1); |
|
56 | 56 | |
57 | 57 | if (count($where) > 0) { |
58 | 58 | foreach ($where as $column => $value) { |
@@ -78,8 +78,8 @@ discard block |
||
78 | 78 | public function fetchBy(array $where = []) |
79 | 79 | { |
80 | 80 | $queryBuilder = $this->connection->createQueryBuilder() |
81 | - ->select('*') |
|
82 | - ->from(self::TABLE); |
|
81 | + ->select('*') |
|
82 | + ->from(self::TABLE); |
|
83 | 83 | |
84 | 84 | if (count($where) > 0) { |
85 | 85 | foreach ($where as $column => $value) { |
@@ -121,7 +121,7 @@ |
||
121 | 121 | $databaseArray |
122 | 122 | ); |
123 | 123 | |
124 | - $entity->id = (int) $this->connection->lastInsertId(); |
|
124 | + $entity->id = (int)$this->connection->lastInsertId(); |
|
125 | 125 | |
126 | 126 | return $entity; |
127 | 127 | } |
@@ -50,9 +50,9 @@ discard block |
||
50 | 50 | public function fetchOneBy(array $where = []) |
51 | 51 | { |
52 | 52 | $queryBuilder = $this->connection->createQueryBuilder() |
53 | - ->select('*') |
|
54 | - ->from(self::TABLE) |
|
55 | - ->setMaxResults(1); |
|
53 | + ->select('*') |
|
54 | + ->from(self::TABLE) |
|
55 | + ->setMaxResults(1); |
|
56 | 56 | |
57 | 57 | if (count($where) > 0) { |
58 | 58 | foreach ($where as $column => $value) { |
@@ -78,8 +78,8 @@ discard block |
||
78 | 78 | public function fetchBy(array $where = []) |
79 | 79 | { |
80 | 80 | $queryBuilder = $this->connection->createQueryBuilder() |
81 | - ->select('*') |
|
82 | - ->from(self::TABLE); |
|
81 | + ->select('*') |
|
82 | + ->from(self::TABLE); |
|
83 | 83 | |
84 | 84 | if (count($where) > 0) { |
85 | 85 | foreach ($where as $column => $value) { |
@@ -121,7 +121,7 @@ |
||
121 | 121 | $databaseArray |
122 | 122 | ); |
123 | 123 | |
124 | - $entity->id = (int) $this->connection->lastInsertId(); |
|
124 | + $entity->id = (int)$this->connection->lastInsertId(); |
|
125 | 125 | |
126 | 126 | return $entity; |
127 | 127 | } |
@@ -50,9 +50,9 @@ discard block |
||
50 | 50 | public function fetchOneBy(array $where = []) |
51 | 51 | { |
52 | 52 | $queryBuilder = $this->connection->createQueryBuilder() |
53 | - ->select('*') |
|
54 | - ->from(self::TABLE) |
|
55 | - ->setMaxResults(1); |
|
53 | + ->select('*') |
|
54 | + ->from(self::TABLE) |
|
55 | + ->setMaxResults(1); |
|
56 | 56 | |
57 | 57 | if (count($where) > 0) { |
58 | 58 | foreach ($where as $column => $value) { |
@@ -78,8 +78,8 @@ discard block |
||
78 | 78 | public function fetchBy(array $where = []) |
79 | 79 | { |
80 | 80 | $queryBuilder = $this->connection->createQueryBuilder() |
81 | - ->select('*') |
|
82 | - ->from(self::TABLE); |
|
81 | + ->select('*') |
|
82 | + ->from(self::TABLE); |
|
83 | 83 | |
84 | 84 | if (count($where) > 0) { |
85 | 85 | foreach ($where as $column => $value) { |
@@ -121,7 +121,7 @@ |
||
121 | 121 | $databaseArray |
122 | 122 | ); |
123 | 123 | |
124 | - $entity->threadid = (int) $this->connection->lastInsertId(); |
|
124 | + $entity->threadid = (int)$this->connection->lastInsertId(); |
|
125 | 125 | |
126 | 126 | return $entity; |
127 | 127 | } |
@@ -50,9 +50,9 @@ discard block |
||
50 | 50 | public function fetchOneBy(array $where = []) |
51 | 51 | { |
52 | 52 | $queryBuilder = $this->connection->createQueryBuilder() |
53 | - ->select('*') |
|
54 | - ->from(self::TABLE) |
|
55 | - ->setMaxResults(1); |
|
53 | + ->select('*') |
|
54 | + ->from(self::TABLE) |
|
55 | + ->setMaxResults(1); |
|
56 | 56 | |
57 | 57 | if (count($where) > 0) { |
58 | 58 | foreach ($where as $column => $value) { |
@@ -78,8 +78,8 @@ discard block |
||
78 | 78 | public function fetchBy(array $where = []) |
79 | 79 | { |
80 | 80 | $queryBuilder = $this->connection->createQueryBuilder() |
81 | - ->select('*') |
|
82 | - ->from(self::TABLE); |
|
81 | + ->select('*') |
|
82 | + ->from(self::TABLE); |
|
83 | 83 | |
84 | 84 | if (count($where) > 0) { |
85 | 85 | foreach ($where as $column => $value) { |
@@ -121,7 +121,7 @@ |
||
121 | 121 | $databaseArray |
122 | 122 | ); |
123 | 123 | |
124 | - $entity->id = (int) $this->connection->lastInsertId(); |
|
124 | + $entity->id = (int)$this->connection->lastInsertId(); |
|
125 | 125 | |
126 | 126 | return $entity; |
127 | 127 | } |
@@ -50,9 +50,9 @@ discard block |
||
50 | 50 | public function fetchOneBy(array $where = []) |
51 | 51 | { |
52 | 52 | $queryBuilder = $this->connection->createQueryBuilder() |
53 | - ->select('*') |
|
54 | - ->from(self::TABLE) |
|
55 | - ->setMaxResults(1); |
|
53 | + ->select('*') |
|
54 | + ->from(self::TABLE) |
|
55 | + ->setMaxResults(1); |
|
56 | 56 | |
57 | 57 | if (count($where) > 0) { |
58 | 58 | foreach ($where as $column => $value) { |
@@ -78,8 +78,8 @@ discard block |
||
78 | 78 | public function fetchBy(array $where = []) |
79 | 79 | { |
80 | 80 | $queryBuilder = $this->connection->createQueryBuilder() |
81 | - ->select('*') |
|
82 | - ->from(self::TABLE); |
|
81 | + ->select('*') |
|
82 | + ->from(self::TABLE); |
|
83 | 83 | |
84 | 84 | if (count($where) > 0) { |
85 | 85 | foreach ($where as $column => $value) { |
@@ -121,7 +121,7 @@ |
||
121 | 121 | $databaseArray |
122 | 122 | ); |
123 | 123 | |
124 | - $entity->id = (int) $this->connection->lastInsertId(); |
|
124 | + $entity->id = (int)$this->connection->lastInsertId(); |
|
125 | 125 | |
126 | 126 | return $entity; |
127 | 127 | } |
@@ -50,9 +50,9 @@ discard block |
||
50 | 50 | public function fetchOneBy(array $where = []) |
51 | 51 | { |
52 | 52 | $queryBuilder = $this->connection->createQueryBuilder() |
53 | - ->select('*') |
|
54 | - ->from(self::TABLE) |
|
55 | - ->setMaxResults(1); |
|
53 | + ->select('*') |
|
54 | + ->from(self::TABLE) |
|
55 | + ->setMaxResults(1); |
|
56 | 56 | |
57 | 57 | if (count($where) > 0) { |
58 | 58 | foreach ($where as $column => $value) { |
@@ -78,8 +78,8 @@ discard block |
||
78 | 78 | public function fetchBy(array $where = []) |
79 | 79 | { |
80 | 80 | $queryBuilder = $this->connection->createQueryBuilder() |
81 | - ->select('*') |
|
82 | - ->from(self::TABLE); |
|
81 | + ->select('*') |
|
82 | + ->from(self::TABLE); |
|
83 | 83 | |
84 | 84 | if (count($where) > 0) { |
85 | 85 | foreach ($where as $column => $value) { |
@@ -121,7 +121,7 @@ |
||
121 | 121 | $databaseArray |
122 | 122 | ); |
123 | 123 | |
124 | - $entity->id = (int) $this->connection->lastInsertId(); |
|
124 | + $entity->id = (int)$this->connection->lastInsertId(); |
|
125 | 125 | |
126 | 126 | return $entity; |
127 | 127 | } |