* @param $groupName Group to check if found in list
* @return $isset Whether the group is valid
*/
- function isGroupSet ($groupName);
+ function isGroupSet (string $groupName);
/**
* Adds the given group or if already added issues a ListGroupAlreadyAddedException
* @return void
* @throws ListGroupAlreadyAddedException If the given group is already added
*/
- function addGroup ($groupName);
+ function addGroup (string $groupName);
/**
* Adds the given instance to list group and sub group
* @return void
* @throws NoListGroupException If the given group is not found
*/
- function addInstance ($groupName, $subGroup, Visitable $visitableInstance);
+ function addInstance (string $groupName, string $subGroup, Visitable $visitableInstance);
/**
* Adds the given entry to list group
* @return void
* @throws NoListGroupException If the given group is not found
*/
- function addEntry ($groupName, $entry);
+ function addEntry (string $groupName, $entry);
/**
* Updates the given entry by hash with given array