Skip to content

Commit 0ec7a6f

Browse files
committed
Make properties private
1 parent 6369a4a commit 0ec7a6f

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

lib/Doctrine/DBAL/Query/QueryBuilder.php

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -116,77 +116,77 @@ class QueryBuilder
116116
*
117117
* @var string[]
118118
*/
119-
public $select = [];
119+
private $select = [];
120120

121121
/**
122122
* Whether this is a SELECT DISTINCT query.
123123
*
124124
* @var bool
125125
*/
126-
public $distinct = false;
126+
private $distinct = false;
127127

128128
/**
129129
* The FROM parts of a SELECT query.
130130
*
131131
* @var From[]
132132
*/
133-
public $from = [];
133+
private $from = [];
134134

135135
/**
136136
* The table name for an INSERT, UPDATE or DELETE query.
137137
*
138138
* @var string|null
139139
*/
140-
public $table;
140+
private $table;
141141

142142
/**
143143
* The list of joins, indexed by from alias.
144144
*
145145
* @var array<string, Join[]>
146146
*/
147-
public $join = [];
147+
private $join = [];
148148

149149
/**
150150
* The SET parts of an UPDATE query.
151151
*
152152
* @var string[]
153153
*/
154-
public $set = [];
154+
private $set = [];
155155

156156
/**
157157
* The WHERE part of a SELECT, UPDATE or DELETE query.
158158
*
159159
* @var CompositeExpression|null
160160
*/
161-
public $where = null;
161+
private $where = null;
162162

163163
/**
164164
* The GROUP BY part of a SELECT query.
165165
*
166166
* @var string[]
167167
*/
168-
public $groupBy = [];
168+
private $groupBy = [];
169169

170170
/**
171171
* The HAVING part of a SELECT query.
172172
*
173173
* @var CompositeExpression|null
174174
*/
175-
public $having = null;
175+
private $having = null;
176176

177177
/**
178178
* The ORDER BY parts of a SELECT query.
179179
*
180180
* @var string[]
181181
*/
182-
public $orderBy = [];
182+
private $orderBy = [];
183183

184184
/**
185185
* The values of an INSERT query.
186186
*
187187
* @var array<string, mixed>
188188
*/
189-
public $values = [];
189+
private $values = [];
190190

191191
/**
192192
* Initializes a new <tt>QueryBuilder</tt>.

0 commit comments

Comments
 (0)