File tree Expand file tree Collapse file tree 6 files changed +6
-6
lines changed Expand file tree Collapse file tree 6 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -17,5 +17,5 @@ interface ReindexInterface
1717 /**
1818 * @param array|null $indexIds
1919 */
20- public function reindex (array $ indexIds = null ) : void ;
20+ public function reindex (? array $ indexIds = null ) : void ;
2121}
Original file line number Diff line number Diff line change @@ -17,5 +17,5 @@ interface StrategyInterface
1717 /**
1818 * @param array|null $indexIds
1919 */
20- public function process (array $ indexIds = null ) : void ;
20+ public function process (? array $ indexIds = null ) : void ;
2121}
Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ public function __construct(IndexerFactory $indexerFactory)
2929 *
3030 * @param array|null $indexIds
3131 */
32- public function reindex (array $ indexIds = null ) : void
32+ public function reindex (? array $ indexIds = null ) : void
3333 {
3434 foreach ($ indexIds as $ index ) {
3535 $ indexer = $ this ->indexerFactory ->create ();
Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ public function __construct(PublisherInterface $publisher)
3232 *
3333 * @param array|null $indexIds
3434 */
35- public function process (array $ indexIds = null ) : void
35+ public function process (? array $ indexIds = null ) : void
3636 {
3737 $ this ->publisher ->publish (self ::TOPIC_NAME , $ indexIds );
3838 }
Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ public function __construct(Reindex $reindexService)
3030 *
3131 * @param array|null $indexIds
3232 */
33- public function process (array $ indexIds = null ) : void
33+ public function process (? array $ indexIds = null ) : void
3434 {
3535 $ this ->reindexService ->reindex ($ indexIds );
3636 }
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ public function __construct(StrategyResolver $resolver)
2727 * @param array|null $indexIds
2828 * @throws \Magento\Framework\Exception\InputException
2929 */
30- public function process (array $ indexIds = null ) : void
30+ public function process (? array $ indexIds = null ) : void
3131 {
3232 $ this ->resolver ->resolveActive ()->process ($ indexIds );
3333 }
You can’t perform that action at this time.
0 commit comments