Loading core/modules/content_translation/tests/src/Functional/ContentTranslationWorkflowsTest.php +1 −1 Original line number Diff line number Diff line Loading @@ -159,7 +159,7 @@ protected function getEditorPermissions(): array { /** * Creates a test entity and translate it. * * @param \Drupal\User\UserInterface|null $user * @param \Drupal\user\UserInterface|null $user * (optional) The entity owner. */ protected function setupEntity(?UserInterface $user = NULL): void { Loading core/modules/file/tests/src/Functional/FileFieldWidgetTest.php +2 −2 Original line number Diff line number Diff line Loading @@ -481,7 +481,7 @@ public function testMaximumUploadFileSizeValidation(): void { $type_name = 'article'; $field_name = $this->randomMachineName(); $this->createFileField($field_name, 'node', $type_name); /** @var \Drupal\Field\FieldConfigInterface $field */ /** @var \Drupal\field\FieldConfigInterface $field */ $field = FieldConfig::loadByName('node', $type_name, $field_name); $field_id = $field->id(); $this->drupalGet("admin/structure/types/manage/$type_name/fields/$field_id"); Loading @@ -492,7 +492,7 @@ public function testMaximumUploadFileSizeValidation(): void { $this->assertSession()->pageTextContains('Saved ' . $field_name . ' configuration.'); // Reload the field config to check for the saved value. /** @var \Drupal\Field\FieldConfigInterface $field */ /** @var \Drupal\field\FieldConfigInterface $field */ $field = FieldConfig::loadByName('node', $type_name, $field_name); $settings = $field->getSettings(); $this->assertEquals('5.1 megabytes', $settings['max_filesize'], 'The max filesize value had been trimmed on save.'); Loading core/modules/history/history.module +1 −1 Original line number Diff line number Diff line Loading @@ -78,7 +78,7 @@ function history_read_multiple($nids): array { * * @param string|int|null $nid * The node ID that has been read. * @param \Drupal\User\UserInterface $account * @param \Drupal\user\UserInterface $account * (optional) The user account to update the history for. Defaults to the * current user. */ Loading core/modules/user/src/UserAuthenticationInterface.php +1 −1 Original line number Diff line number Diff line Loading @@ -13,7 +13,7 @@ interface UserAuthenticationInterface { * @param string $identifier * The user identifier to authenticate. Usually the username. * * @return \Drupal\User\UserInterface|false * @return \Drupal\user\UserInterface|false * The user account on success, or FALSE on failure to authenticate. */ public function lookupAccount($identifier): UserInterface|false; Loading Loading
core/modules/content_translation/tests/src/Functional/ContentTranslationWorkflowsTest.php +1 −1 Original line number Diff line number Diff line Loading @@ -159,7 +159,7 @@ protected function getEditorPermissions(): array { /** * Creates a test entity and translate it. * * @param \Drupal\User\UserInterface|null $user * @param \Drupal\user\UserInterface|null $user * (optional) The entity owner. */ protected function setupEntity(?UserInterface $user = NULL): void { Loading
core/modules/file/tests/src/Functional/FileFieldWidgetTest.php +2 −2 Original line number Diff line number Diff line Loading @@ -481,7 +481,7 @@ public function testMaximumUploadFileSizeValidation(): void { $type_name = 'article'; $field_name = $this->randomMachineName(); $this->createFileField($field_name, 'node', $type_name); /** @var \Drupal\Field\FieldConfigInterface $field */ /** @var \Drupal\field\FieldConfigInterface $field */ $field = FieldConfig::loadByName('node', $type_name, $field_name); $field_id = $field->id(); $this->drupalGet("admin/structure/types/manage/$type_name/fields/$field_id"); Loading @@ -492,7 +492,7 @@ public function testMaximumUploadFileSizeValidation(): void { $this->assertSession()->pageTextContains('Saved ' . $field_name . ' configuration.'); // Reload the field config to check for the saved value. /** @var \Drupal\Field\FieldConfigInterface $field */ /** @var \Drupal\field\FieldConfigInterface $field */ $field = FieldConfig::loadByName('node', $type_name, $field_name); $settings = $field->getSettings(); $this->assertEquals('5.1 megabytes', $settings['max_filesize'], 'The max filesize value had been trimmed on save.'); Loading
core/modules/history/history.module +1 −1 Original line number Diff line number Diff line Loading @@ -78,7 +78,7 @@ function history_read_multiple($nids): array { * * @param string|int|null $nid * The node ID that has been read. * @param \Drupal\User\UserInterface $account * @param \Drupal\user\UserInterface $account * (optional) The user account to update the history for. Defaults to the * current user. */ Loading
core/modules/user/src/UserAuthenticationInterface.php +1 −1 Original line number Diff line number Diff line Loading @@ -13,7 +13,7 @@ interface UserAuthenticationInterface { * @param string $identifier * The user identifier to authenticate. Usually the username. * * @return \Drupal\User\UserInterface|false * @return \Drupal\user\UserInterface|false * The user account on success, or FALSE on failure to authenticate. */ public function lookupAccount($identifier): UserInterface|false; Loading