Open unicodeveloper opened 8 years ago
$dictionary = $dictStore->dictData; $newSlang['slang'] = $slang; $newSlang['description'] = $definition; $newSlang['sample-sentence'] = $example; array_push($dictionary, $newSlang); return $dictionary;
should be abstracted into another function and then called into populateDictionary()
The comments indicate 5 parameters yet i see only 4 parameters set in the function
should be abstracted into another function and then called into populateDictionary()