Skip to content
Snippets Groups Projects
Commit cc5ab975 authored by Qiangjun Ran's avatar Qiangjun Ran
Browse files

Fix a bug/typo in \Drupal\file_example\FileExampleStateHelper::deleteDefaultState()

parent af9136e3
No related branches found
No related tags found
No related merge requests found
......@@ -66,7 +66,7 @@ class FileExampleStateHelper {
* Removes the default file and default directory from the state storage.
*/
public function deleteDefaultState(): void {
$this->state->delete(key: self::KEY_DEFAULT_DIRECTORY);
$this->state->delete(self::KEY_DEFAULT_DIRECTORY);
$this->state->delete(self::KEY_DEFAULT_FILE);
}
......
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