Skip to content

Commit 1bff7bf

Browse files
committed
cs
1 parent 7c78a09 commit 1bff7bf

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

administrator/components/com_finder/src/Indexer/Token.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ public function __construct($term, $lang, $spacer = ' ')
144144
// Tokens can be a single word or an array of words representing a phrase.
145145
if (\is_array($term)) {
146146
// Populate the token instance.
147-
$langs = array_fill(0, count($term), $lang);
147+
$langs = array_fill(0, \count($term), $lang);
148148
$this->term = implode($spacer, $term);
149149
$this->stem = implode($spacer, array_map([Helper::class, 'stem'], $term, $langs));
150150
$this->numeric = false;

libraries/src/Table/Table.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -927,8 +927,8 @@ public function store($updateNulls = false)
927927
$asset->rules = (string) $this->_rules;
928928
}
929929

930-
if (!$asset->check() || !$asset->store()) {
931-
$this->setError($asset->getError());
930+
if (!$asset->check() || !$asset->store()) {
931+
$this->setError($asset->getError());
932932

933933
return false;
934934
}

0 commit comments

Comments
 (0)