Follow the most common pattern used in project

```
git grep strval|wc -l
32
git grep "(string)"|wc -l
481
```

Signed-off-by: Vitor Mattos <vitor@php.rio>
pull/32863/head
Vitor Mattos 2022-06-20 11:46:13 +07:00
parent d7e7a4d333
commit 3be1217c04
No known key found for this signature in database
GPG Key ID: B7AB4B76A7CA7318
1 changed files with 2 additions and 2 deletions

@ -722,7 +722,7 @@ class ManagerTest extends TestCase {
);
// just to make sure they are really set, with correct actor data
$comment = $manager->get(strval($ids[1]));
$comment = $manager->get((string) $ids[1]);
$this->assertSame($comment->getObjectType(), 'files');
$this->assertSame($comment->getObjectId(), 'file64');
@ -733,7 +733,7 @@ class ManagerTest extends TestCase {
$exists = 0;
foreach ($ids as $id) {
try {
$manager->get(strval($id));
$manager->get((string) $id);
$exists++;
} catch (NotFoundException $e) {
$deleted++;