File tree 3 files changed +5
-3
lines changed
3 files changed +5
-3
lines changed Original file line number Diff line number Diff line change 1
1
<?php
2
+ declare (strict_types=1 );
3
+
2
4
namespace Flowpack \SimpleSearch \ContentRepositoryAdaptor \Command ;
3
5
4
6
use Flowpack \SimpleSearch \ContentRepositoryAdaptor \Indexer \NodeIndexer ;
22
24
*/
23
25
class NodeIndexCommandController extends CommandController
24
26
{
25
-
26
27
/**
27
28
* @Flow\Inject
28
29
* @var NodeIndexer
Original file line number Diff line number Diff line change 1
1
<?php
2
+ declare (strict_types=1 );
2
3
3
4
namespace Flowpack \SimpleSearch \ContentRepositoryAdaptor \Indexer ;
4
5
Original file line number Diff line number Diff line change @@ -106,7 +106,7 @@ abstract public function getFindIdentifiersByNodeIdentifierQuery(string $nodeIde
106
106
* @param string $nodeType the node type to filter for
107
107
* @return QueryBuilderInterface
108
108
*/
109
- public function nodeType ($ nodeType ): QueryBuilderInterface
109
+ public function nodeType (string $ nodeType ): QueryBuilderInterface
110
110
{
111
111
$ this ->getSimpleSearchQueryBuilder ()->like ('__typeAndSuperTypes ' , "# " . $ nodeType . "# " );
112
112
@@ -120,7 +120,7 @@ public function nodeType($nodeType): QueryBuilderInterface
120
120
* @param mixed $propertyValue
121
121
* @return QueryBuilderInterface
122
122
*/
123
- public function exactMatch ($ propertyName , $ propertyValue ): QueryBuilderInterface
123
+ public function exactMatch (string $ propertyName , $ propertyValue ): QueryBuilderInterface
124
124
{
125
125
if ($ propertyValue instanceof NodeInterface) {
126
126
$ propertyValue = (string ) $ propertyValue ->getNodeAggregateIdentifier ();
You can’t perform that action at this time.
0 commit comments