We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4ed121d commit 5423fc7Copy full SHA for 5423fc7
src/Facet.php
@@ -63,7 +63,7 @@ class Facet
63
/**
64
* @param ConnectionInterface|null $connection
65
*/
66
- public function __construct(ConnectionInterface $connection = null)
+ public function __construct(?ConnectionInterface $connection = null)
67
{
68
$this->connection = $connection;
69
}
@@ -85,7 +85,7 @@ public function getConnection()
85
*
86
* @return Facet
87
88
- public function setConnection(ConnectionInterface $connection = null)
+ public function setConnection(?ConnectionInterface $connection = null)
89
90
91
0 commit comments