@@ -36,7 +36,7 @@ public function testFindAsArray(): void
3636
3737 $ user = $ this ->model ->find ($ id );
3838
39- $ this ->assertIsInt ($ user ['id ' ]); // @phpstan-ignore offsetAccess.notFound
39+ $ this ->assertIsInt ($ user ['id ' ]);
4040 $ this ->assertInstanceOf (Time::class, $ user ['created_at ' ]);
4141 $ this ->assertSame ('John Smith ' , $ user ['name ' ]);
4242 // `name` is cast by custom CastBase64 handler.
@@ -128,9 +128,9 @@ public function testFindAllAsArray(): void
128128
129129 $ users = $ this ->model ->findAll ();
130130
131- $ this ->assertIsInt ($ users [0 ]['id ' ]); // @phpstan-ignore offsetAccess.notFound
131+ $ this ->assertIsInt ($ users [0 ]['id ' ]);
132132 $ this ->assertInstanceOf (Time::class, $ users [0 ]['created_at ' ]);
133- $ this ->assertIsInt ($ users [1 ]['id ' ]); // @phpstan-ignore offsetAccess.notFound
133+ $ this ->assertIsInt ($ users [1 ]['id ' ]);
134134 $ this ->assertInstanceOf (Time::class, $ users [1 ]['created_at ' ]);
135135 }
136136
@@ -208,7 +208,7 @@ public function testFirstAsArray(): void
208208
209209 $ user = $ this ->model ->first ();
210210
211- $ this ->assertIsInt ($ user ['id ' ]); // @phpstan-ignore offsetAccess.notFound
211+ $ this ->assertIsInt ($ user ['id ' ]);
212212 $ this ->assertInstanceOf (Time::class, $ user ['created_at ' ]);
213213 }
214214
@@ -265,7 +265,7 @@ public function testInsertArray(): void
265265
266266 $ user = $ this ->model ->find ($ id );
267267
268- $ this ->assertSame (['joe@example.com ' ], $ user ['email ' ]); // @phpstan-ignore offsetAccess.notFound
268+ $ this ->assertSame (['joe@example.com ' ], $ user ['email ' ]);
269269 }
270270
271271 public function testInsertObject (): void
@@ -281,7 +281,7 @@ public function testInsertObject(): void
281281
282282 $ user = $ this ->model ->find ($ id );
283283
284- $ this ->assertSame (['joe@example.com ' ], $ user ['email ' ]); // @phpstan-ignore offsetAccess.notFound
284+ $ this ->assertSame (['joe@example.com ' ], $ user ['email ' ]);
285285 }
286286
287287 public function testUpdateArray (): void
@@ -290,14 +290,14 @@ public function testUpdateArray(): void
290290 $ user = $ this ->model ->find ($ id );
291291
292292 $ user ['email ' ][] = 'private@example.org ' ;
293- $ this ->model ->update ($ user ['id ' ], $ user ); // @phpstan-ignore offsetAccess.notFound
293+ $ this ->model ->update ($ user ['id ' ], $ user );
294294
295295 $ user = $ this ->model ->find ($ id );
296296
297297 $ this ->assertSame ([
298298 'john@example.com ' ,
299299 'private@example.org ' ,
300- ], $ user ['email ' ]); // @phpstan-ignore offsetAccess.notFound
300+ ], $ user ['email ' ]);
301301 }
302302
303303 public function testUpdateObject (): void
@@ -313,7 +313,7 @@ public function testUpdateObject(): void
313313 $ this ->assertSame ([
314314 'john@example.com ' ,
315315 'private@example.org ' ,
316- ], $ user ['email ' ]); // @phpstan-ignore offsetAccess.notFound
316+ ], $ user ['email ' ]);
317317 }
318318
319319 public function testUpdateCustomObject (): void
@@ -365,7 +365,7 @@ public function testSaveArray(): void
365365 $ this ->assertSame ([
366366 'john@example.com ' ,
367367 'private@example.org ' ,
368- ], $ user ['email ' ]); // @phpstan-ignore offsetAccess.notFound
368+ ], $ user ['email ' ]);
369369 }
370370
371371 public function testSaveObject (): void
@@ -381,7 +381,7 @@ public function testSaveObject(): void
381381 $ this ->assertSame ([
382382 'john@example.com ' ,
383383 'private@example.org ' ,
384- ], $ user ['email ' ]); // @phpstan-ignore offsetAccess.notFound
384+ ], $ user ['email ' ]);
385385 }
386386
387387 public function testSaveCustomObject (): void
0 commit comments