summaryrefslogtreecommitdiffstatshomepage
path: root/core/tests/Drupal/Tests/BrowserTestBase.php
diff options
context:
space:
mode:
authorcatch <catch@35733.no-reply.drupal.org>2024-06-01 10:15:22 +0100
committercatch <catch@35733.no-reply.drupal.org>2024-06-01 10:15:22 +0100
commit06aeda306c260f1b22ca5ee5e9b59361cc13ff92 (patch)
tree1a0b709e568f8162301e50027559ededf9ee9a25 /core/tests/Drupal/Tests/BrowserTestBase.php
parenta62995de4249c36366a0c94fe81d9f7906b250b0 (diff)
downloaddrupal-06aeda306c260f1b22ca5ee5e9b59361cc13ff92.tar.gz
drupal-06aeda306c260f1b22ca5ee5e9b59361cc13ff92.zip
Issue #3427999 by andypost, Ayesh, bbrala: [PHP 8.4] Fix implicitly nullable type declarations
Diffstat (limited to 'core/tests/Drupal/Tests/BrowserTestBase.php')
-rw-r--r--core/tests/Drupal/Tests/BrowserTestBase.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/tests/Drupal/Tests/BrowserTestBase.php b/core/tests/Drupal/Tests/BrowserTestBase.php
index 486e86def42..d0027e13743 100644
--- a/core/tests/Drupal/Tests/BrowserTestBase.php
+++ b/core/tests/Drupal/Tests/BrowserTestBase.php
@@ -526,7 +526,7 @@ abstract class BrowserTestBase extends TestCase {
* @return array
* Associative array of option keys and values.
*/
- protected function getOptions($select, Element $container = NULL) {
+ protected function getOptions($select, ?Element $container = NULL) {
if (is_string($select)) {
$select = $this->assertSession()->selectExists($select, $container);
}