Skip to content

Commit c90e4c5

Browse files
Set strict parameter of in_array to true where possible
1 parent d947cbe commit c90e4c5

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
@@ -32,7 +32,7 @@ public function __construct(EventDispatcherInterface $dispatcher = null, HttpCli
3232

3333
public function supports(Dsn $dsn): bool
3434
{
35-
return \in_array($dsn->getScheme(), $this->getSupportedSchemes());
35+
return \in_array($dsn->getScheme(), $this->getSupportedSchemes(), true);
3636
}
3737

3838
/**

0 commit comments

Comments
 (0)