8000 Fix type for PHP 8.1 · symfony/symfony@2244bec · GitHub
[go: up one dir, main page]

Skip to content

Commit 2244bec

Browse files
committed
Fix type for PHP 8.1
1 parent 53f84af commit 2244bec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Component/Lock/Store/DoctrineDbalStore.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ public function exists(Key $key)
159159
ParameterType::STRING,
160160
]);
161161

162-
return '1' === $result;
162+
return (bool) $result;
163163
}
164164

165165
/**

0 commit comments

Comments
 (0)
0