chg: [attributes] fixed typo in genCategoriesDefinitions function name

pull/7672/head
Christophe Vandeplas 2021-08-20 08:38:17 +02:00
parent 0365fcb157
commit 02e62d132d
1 changed files with 2 additions and 2 deletions

View File

@ -4298,7 +4298,7 @@ class Attribute extends AppModel
$this->typeDefinitions = $this->generateTypeDefinitions();
return $this->typeDefinitions;
} else if ($name === 'categoryDefinitions') {
$this->categoryDefinitions = $this->generateCategoryDefintions();
$this->categoryDefinitions = $this->generateCategoryDefinitions();
return $this->categoryDefinitions;
}
return parent::__get($name);
@ -4309,7 +4309,7 @@ class Attribute extends AppModel
* NOTE WHEN MODIFYING: please ensure to run the script 'tools/gen_misp_types_categories.py' to update the new definitions everywhere. (docu, website, RFC, ... )
* @return array[]
*/
private function generateCategoryDefintions()
private function generateCategoryDefinitions()
{
return array(
'Internal reference' => array(