diff --git a/src/TokenResolver.php b/src/TokenResolver.php
index 36a977f9dfd045c18819711153386b775d5e4441..f51b3f896564ec9c29880ca3857e5845fcec038a 100644
--- a/src/TokenResolver.php
+++ b/src/TokenResolver.php
@@ -205,7 +205,7 @@ class TokenResolver implements TokenResolverInterface {
     // Loop through the tokens, starting with the last one.
     foreach (array_reverse($tokens) as $token) {
       // Explode token into its field_name and property parts.
-      [$field_name, $property] = array_pad(explode(':', $token), 2, '');
+      [$field_name] = explode(':', $token, 2);
 
       if (!$entity->hasField($field_name)) {
         continue;