Skip to content

Commit 955fd72

Browse files
Set strict parameter of in_array to true where possible
1 parent 19db429 commit 955fd72

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Transport/AbstractTransportFactory.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ public function __construct(EventDispatcherInterface $dispatcher = null, HttpCli
3434

3535
public function supports(Dsn $dsn): bool
3636
{
37-
return \in_array($dsn->getScheme(), $this->getSupportedSchemes());
37+
return \in_array($dsn->getScheme(), $this->getSupportedSchemes(), true);
3838
}
3939

4040
abstract protected function getSupportedSchemes(): array;

0 commit comments

Comments
 (0)