@@ -359,7 +359,7 @@ public function testErrorString(): void
359359
360360 $ collection = new FileCollection ();
361361 $ file = $ collection ->getFile ('userfile ' );
362- $ this ->assertInstanceof (UploadedFile::class, $ file );
362+ $ this ->assertInstanceOf (UploadedFile::class, $ file );
363363
364364 $ this ->assertSame ($ expected , $ file ->getErrorString ());
365365 }
@@ -380,7 +380,7 @@ public function testErrorStringWithUnknownError(): void
380380
381381 $ collection = new FileCollection ();
382382 $ file = $ collection ->getFile ('userfile ' );
383- $ this ->assertInstanceof (UploadedFile::class, $ file );
383+ $ this ->assertInstanceOf (UploadedFile::class, $ file );
384384
385385 $ this ->assertSame ($ expected , $ file ->getErrorString ());
386386 }
@@ -400,7 +400,7 @@ public function testErrorStringWithNoError(): void
400400
401401 $ collection = new FileCollection ();
402402 $ file = $ collection ->getFile ('userfile ' );
403- $ this ->assertInstanceof (UploadedFile::class, $ file );
403+ $ this ->assertInstanceOf (UploadedFile::class, $ file );
404404
405405 $ this ->assertSame ($ expected , $ file ->getErrorString ());
406406 }
@@ -419,7 +419,7 @@ public function testError(): void
419419
420420 $ collection = new FileCollection ();
421421 $ file = $ collection ->getFile ('userfile ' );
422- $ this ->assertInstanceof (UploadedFile::class, $ file );
422+ $ this ->assertInstanceOf (UploadedFile::class, $ file );
423423
424424 $ this ->assertSame (UPLOAD_ERR_INI_SIZE , $ file ->getError ());
425425 }
@@ -437,7 +437,7 @@ public function testErrorWithUnknownError(): void
437437
438438 $ collection = new FileCollection ();
439439 $ file = $ collection ->getFile ('userfile ' );
440- $ this ->assertInstanceof (UploadedFile::class, $ file );
440+ $ this ->assertInstanceOf (UploadedFile::class, $ file );
441441
442442 $ this ->assertSame (0 , $ file ->getError ());
443443 }
@@ -456,7 +456,7 @@ public function testErrorWithNoError(): void
456456
457457 $ collection = new FileCollection ();
458458 $ file = $ collection ->getFile ('userfile ' );
459- $ this ->assertInstanceof (UploadedFile::class, $ file );
459+ $ this ->assertInstanceOf (UploadedFile::class, $ file );
460460
461461 $ this ->assertSame (UPLOAD_ERR_OK , $ file ->getError ());
462462 }
@@ -475,7 +475,7 @@ public function testClientPathReturnsValidFullPath(): void
475475
476476 $ collection = new FileCollection ();
477477 $ file = $ collection ->getFile ('userfile ' );
478- $ this ->assertInstanceof (UploadedFile::class, $ file );
478+ $ this ->assertInstanceOf (UploadedFile::class, $ file );
479479
480480 $ this ->assertSame ('someDir/someFile.txt ' , $ file ->getClientPath ());
481481 }
@@ -493,7 +493,7 @@ public function testClientPathReturnsNullWhenFullPathIsNull(): void
493493
494494 $ collection = new FileCollection ();
495495 $ file = $ collection ->getFile ('userfile ' );
496- $ this ->assertInstanceof (UploadedFile::class, $ file );
496+ $ this ->assertInstanceOf (UploadedFile::class, $ file );
497497
498498 $ this ->assertNull ($ file ->getClientPath ());
499499 }
0 commit comments