Skip to content
Snippets Groups Projects
Commit 80b257ce authored by catch's avatar catch
Browse files

cspell

parent e0832da6
No related branches found
No related tags found
No related merge requests found
Pipeline #400969 passed with warnings
......@@ -10,7 +10,7 @@ use Drupal\lms_certificate\Hook\LmsCertificateHooks;
*/
#[LegacyHook]
function lms_certificate_entity_field_storage_info(EntityTypeInterface $entity_type): array {
return \Drupal::service(LmsCertificateHooks::class)->entityfieldStorageInfo($entity_type);
return \Drupal::service(LmsCertificateHooks::class)->entityFieldStorageInfo($entity_type);
}
/**
......
......@@ -74,7 +74,7 @@ class CertificateController extends ControllerBase {
$access_result->addCacheableDependency($course_status);
}
else {
$access_result->setcacheMaxAge(0);
$access_result->setCacheMaxAge(0);
}
// Set to cache per user even though the resulting response may be
// uncacheable.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment