mirror of https://github.com/MISP/MISP
fix: [compatibility] removed function return types from correlations
parent
7c65586fe4
commit
b34a6d670a
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue