Security update for Core, with self-updated composer
[yaffs-website] / web / core / modules / system / tests / modules / form_test / src / Form / FormTestStorageForm.php
index f9ae07342274e797938e584510c1b857c39cabf4..9187012977c291aa310545d11c2ccd06f4673123 100644 (file)
@@ -86,7 +86,7 @@ class FormTestStorageForm extends FormBase {
     //   that issue.
     if ($this->getRequest()->get('immutable')) {
       $form_state->addBuildInfo('immutable', TRUE);
-      if ($this->getRequest()->get('cache') && $this->getRequest()->isMethodSafe()) {
+      if ($this->getRequest()->get('cache') && $this->getRequest()->isMethodCacheable()) {
         $form_state->setRequestMethod('FAKE');
         $form_state->setCached();
       }