File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -63,7 +63,7 @@ class Facet
6363 /**
6464 * @param ConnectionInterface|null $connection
6565 */
66- public function __construct (ConnectionInterface $ connection = null )
66+ public function __construct (? ConnectionInterface $ connection = null )
6767 {
6868 $ this ->connection = $ connection ;
6969 }
@@ -85,7 +85,7 @@ public function getConnection()
8585 *
8686 * @return Facet
8787 */
88- public function setConnection (ConnectionInterface $ connection = null )
88+ public function setConnection (? ConnectionInterface $ connection = null )
8989 {
9090 $ this ->connection = $ connection ;
9191
Original file line number Diff line number Diff line change @@ -219,7 +219,7 @@ class SphinxQL
219219 /**
220220 * @param ConnectionInterface|null $connection
221221 */
222- public function __construct (ConnectionInterface $ connection = null )
222+ public function __construct (? ConnectionInterface $ connection = null )
223223 {
224224 $ this ->connection = $ connection ;
225225 }
@@ -304,7 +304,7 @@ public function executeBatch()
304304 *
305305 * @return SphinxQL A new SphinxQL object with the current object referenced
306306 */
307- public function enqueue (SphinxQL $ next = null )
307+ public function enqueue (? SphinxQL $ next = null )
308308 {
309309 if ($ next === null ) {
310310 $ next = new static ($ this ->getConnection ());
You can’t perform that action at this time.
0 commit comments