fix: [enrichment] Fixed inflector typo

pull/4584/head
chrisr3d 2019-04-23 11:27:26 +02:00
parent 8c23307808
commit 5437593c4d
No known key found for this signature in database
GPG Key ID: 6BBED1B63A6D639F
1 changed files with 1 additions and 1 deletions

View File

@ -6064,7 +6064,7 @@ class Event extends AppModel
private function __apply_inflector($count, $scope)
{
return ($count == 1 ? Inflector::singuralize($scope) : Inflector::pluralize($scope));
return ($count == 1 ? Inflector::singularize($scope) : Inflector::pluralize($scope));
}
private function __findCurrentObjectId($event_id, $attributes)