diff --git a/src/Plugin/PdfBackend/PdftkPdfBackend.php b/src/Plugin/PdfBackend/PdftkPdfBackend.php
index d8b648a86f409e8adc2eb9984e8d96e5e3a87eda..f9c4491feb6aabda0b28effba774f236bfee7f45 100644
--- a/src/Plugin/PdfBackend/PdftkPdfBackend.php
+++ b/src/Plugin/PdfBackend/PdftkPdfBackend.php
@@ -142,7 +142,7 @@ class PdftkPdfBackend extends PdfBackendBase implements ContainerFactoryPluginIn
       }
       // Separate the data key from the data value.
       [$key, $value] = explode(':', $lineitem);
-      if (in_array($key, array_keys($data_fields_map), NULL)) {
+      if (in_array($key, array_keys($data_fields_map))) {
         // Trim spaces.
         $fields[$fieldindex][$data_fields_map[$key]] = trim($value);
       }