diff --git a/core/lib/Drupal/Core/Database/Driver/pgsql/Connection.php b/core/lib/Drupal/Core/Database/Driver/pgsql/Connection.php
index 129ca42..a8bdaa9 100644
--- a/core/lib/Drupal/Core/Database/Driver/pgsql/Connection.php
+++ b/core/lib/Drupal/Core/Database/Driver/pgsql/Connection.php
@@ -157,18 +157,12 @@ class Connection extends DatabaseConnection {
   }
 
   public function mapConditionOperator($operator) {
-    static $specials;
-
-    // Function calls not allowed in static declarations, thus this method.
-    if (!isset($specials)) {
-      $specials = array(
-        // In PostgreSQL, 'LIKE' is case-sensitive. For case-insensitive LIKE
-        // statements, we need to use ILIKE instead.
-        'LIKE' => array('operator' => 'ILIKE'),
-        'NOT LIKE' => array('operator' => 'NOT ILIKE'),
-      );
-    }
-
+    static $specials = array(
+      // In PostgreSQL, 'LIKE' is case-sensitive. For case-insensitive LIKE
+      // statements, we need to use ILIKE instead.
+      'LIKE' => array('operator' => 'ILIKE'),
+      'NOT LIKE' => array('operator' => 'NOT ILIKE'),
+    );
     return isset($specials[$operator]) ? $specials[$operator] : NULL;
   }
 
