Thanks to Matteo Scaramuccia!
public static function initialise_test_instance(cache_definition $definition) {
$cache = new cachestore_dummy('Dummy store test');
$cache->initialise($definition);
- return $cache;;
+ return $cache;
}
/**
public function my_name() {
return $this->name;
}
-}
\ No newline at end of file
+}
* @return bool
*/
public function supports_native_ttl() {
- return false;;
+ return false;
}
/**
public function my_name() {
return $this->name;
}
-}
\ No newline at end of file
+}
// Do something here perhaps.
$cache = new cachestore_static('Static store');
$cache->initialise($definition);
- return $cache;;
+ return $cache;
}
/**
self::$staticstore[$id] = array();
}
}
-}
\ No newline at end of file
+}