diff --git a/tests/src/Kernel/CacheExcludeMigrateTest.php b/tests/src/Kernel/CacheExcludeMigrateTest.php
index 5306882854a8b3f7059267e1e83e1da49a2d621b..3c173a713a3131a0ec61eff6e9a535a99d2bbc15 100644
--- a/tests/src/Kernel/CacheExcludeMigrateTest.php
+++ b/tests/src/Kernel/CacheExcludeMigrateTest.php
@@ -36,7 +36,10 @@ class CacheExcludeMigrateTest extends MigrateDrupal7TestBase {
   }
 
   /**
-   * {@inheritdoc}
+   * Gets the path to test fixtures.
+   *
+   * @return string
+   *   A filepath string.
    */
   protected function getFixtureFilePath() {
     return implode(DIRECTORY_SEPARATOR, [
@@ -50,7 +53,7 @@ class CacheExcludeMigrateTest extends MigrateDrupal7TestBase {
   /**
    * Asserts that cache exclude configuration is migrated.
    */
-  public function testCacheExcludeMigration() {
+  public function testCacheExcludeMigration(): void {
     $expected_config = [
       'cacheexclude_list' => '/node/3
 /blog/*',