@@ -1144,7 +1144,6 @@ protected function _transformQuery(): void
1144
1144
return ;
1145
1145
}
1146
1146
1147
- /** @var \Cake\ORM\Table $repository */
1148
1147
$ repository = $ this ->getRepository ();
1149
1148
1150
1149
if (empty ($ this ->_parts ['from ' ])) {
@@ -1166,7 +1165,6 @@ protected function _addDefaultFields(): void
1166
1165
$ select = $ this ->clause ('select ' );
1167
1166
$ this ->_hasFields = true ;
1168
1167
1169
- /** @var \Cake\ORM\Table $repository */
1170
1168
$ repository = $ this ->getRepository ();
1171
1169
1172
1170
if (!count ($ select ) || $ this ->_autoFields === true ) {
@@ -1217,7 +1215,6 @@ protected function _addDefaultSelectTypes(): void
1217
1215
*/
1218
1216
public function find (string $ finder , array $ options = [])
1219
1217
{
1220
- /** @var \Cake\ORM\Table $table */
1221
1218
$ table = $ this ->getRepository ();
1222
1219
1223
1220
/** @psalm-suppress LessSpecificReturnStatement */
@@ -1249,7 +1246,6 @@ protected function _dirty(): void
1249
1246
public function update ($ table = null )
1250
1247
{
1251
1248
if (!$ table ) {
1252
- /** @var \Cake\ORM\Table $repository */
1253
1249
$ repository = $ this ->getRepository ();
1254
1250
$ table = $ repository ->getTable ();
1255
1251
}
@@ -1268,7 +1264,6 @@ public function update($table = null)
1268
1264
*/
1269
1265
public function delete (?string $ table = null )
1270
1266
{
1271
- /** @var \Cake\ORM\Table $repository */
1272
1267
$ repository = $ this ->getRepository ();
1273
1268
$ this ->from ([$ repository ->getAlias () => $ repository ->getTable ()]);
1274
1269
@@ -1291,7 +1286,6 @@ public function delete(?string $table = null)
1291
1286
*/
1292
1287
public function insert (array $ columns , array $ types = [])
1293
1288
{
1294
- /** @var \Cake\ORM\Table $repository */
1295
1289
$ repository = $ this ->getRepository ();
1296
1290
$ table = $ repository ->getTable ();
1297
1291
$ this ->into ($ table );
@@ -1416,7 +1410,6 @@ protected function _decorateResults(Traversable $result): ResultSetInterface
1416
1410
1417
1411
if (!($ result instanceof ResultSet) && $ this ->isBufferedResultsEnabled ()) {
1418
1412
$ class = $ this ->_decoratorClass ();
1419
- /** @var \Cake\Datasource\ResultSetInterface $result */
1420
1413
$ result = new $ class ($ result ->buffered ());
1421
1414
}
1422
1415
0 commit comments