| Total Complexity | 4 | 
| Total Lines | 31 | 
| Duplicated Lines | 0 % | 
| Changes | 3 | ||
| Bugs | 0 | Features | 0 | 
| 1 | <?php  | 
            ||
| 23 | class AutocompleteController extends Controller  | 
            ||
| 24 | { | 
            ||
| 25 | /**  | 
            ||
| 26 | * @inheritDoc  | 
            ||
| 27 | */  | 
            ||
| 28 | public function beforeAction($action): bool  | 
            ||
| 35 | }  | 
            ||
| 36 | |||
| 37 | /**  | 
            ||
| 38 | * Return all of the autocomplete items in JSON format  | 
            ||
| 39 | *  | 
            ||
| 40 | * @param string $fieldType  | 
            ||
| 41 | * @param string $twigfieldOptions  | 
            ||
| 42 | * @return Response  | 
            ||
| 43 | */  | 
            ||
| 44 | public function actionIndex(string $fieldType = Twigfield::DEFAULT_FIELD_TYPE, string $twigfieldOptions = ''): Response  | 
            ||
| 56 |