* An exception that indicates something really weird happended. For example,
* if you do switch ($context->contextlevel), and have one case for each
* CONTEXT_... constant. You might throw an invalid_state_exception in the
- * default case, to just in case something really weird is going on, and
+ * default case, to just in case something really weird is going on, and
* $context->contextlevel is invalid - rather than ignoring this possibility.
*/
class invalid_state_exception extends moodle_exception {
* @param string $newlimit the new memory limit
* @return bool
*/
-function reduce_memory_limit ($newlimit) {
+function reduce_memory_limit($newlimit) {
if (empty($newlimit)) {
return false;
}