fix: [compatibility] removed function return types from correlations

pull/8530/head
iglocska 2022-08-08 16:02:50 +02:00
parent 7c65586fe4
commit b34a6d670a
No known key found for this signature in database
GPG Key ID: BEA224F1FEF113AC
1 changed files with 3 additions and 3 deletions

View File

@ -250,13 +250,13 @@ class Correlation extends AppModel
return $this->saveCorrelations($correlations);
}
public function correlateAttribute(array $attribute): void
public function correlateAttribute(array $attribute)
{
$this->runBeforeSaveCorrelation($attribute);
$this->afterSaveCorrelation($attribute);
}
public function beforeSaveCorrelation(array $attribute): void
public function beforeSaveCorrelation(array $attribute)
{
$this->runBeforeSaveCorrelation($attribute);
}
@ -687,7 +687,7 @@ class Correlation extends AppModel
return true;
}
public function findTop(array $query): array
public function findTop(array $query)
{
try {
$redis = $this->setupRedisWithException();