static function resolveStateByPackage (ConnectionHelper $helperInstance, array $packageData, $socketResource);
/**
- * Checks wether the given state is valid
+ * Checks whether the given state is valid
*
* @param $stateName The default state we shall execute
- * @return $isValid Wether the given state is valid
+ * @return $isValid Whether the given state is valid
* @throws EmptyVariableException Thrown if given state is not set
*/
function isStateValid ($stateName);