src/SearchApiAlgoliaHelper.php
syntax error, unexpected '$index' (T_VARIABLE), expecting ',' or ')'
Open
Open
$indexes = array_filter(ContentEntity::getIndexesForEntity($entity), fn(IndexInterface $index) => !!$index->getOption('algolia_index_name'));
- Exclude checks
Variable $index is undefined. Open
Open
$indexes = array_filter(ContentEntity::getIndexesForEntity($entity), fn(IndexInterface $index) => !!$index->getOption('algolia_index_name'));
- Exclude checks
Expected 1 space after "|"; 0 found Open
Open
public static function deleteRecords(string|int $objet_id, string $index_name, string $app_id, string $app_key) {
- Exclude checks
Doc comment short description must start with a capital letter Open
Open
* {@inheritDoc}
- Exclude checks
Variable $index is undefined. Open
Open
$indexes = array_filter(ContentEntity::getIndexesForEntity($entity), fn(IndexInterface $index) => !!$index->getOption('algolia_index_name'));
- Exclude checks
Doc comment short description must end with a full stop Open
Open
* {@inheritDoc}
- Exclude checks
Expected 1 space before "|"; 0 found Open
Open
public static function deleteRecords(string|int $objet_id, string $index_name, string $app_id, string $app_key) {
- Exclude checks