Run Rector on your code to see what it can do for you:

 <?php
 
 namespace ReproC;
         return $this->sink([[["d" => 1]]]);      // same, nested one level deeper
     }
 
+    /**
+     * @param array<mixed[], mixed> $data
+     */
     protected function sink(array $data)
     {
         return $data;
     }
 }
PHP snippet to change

Applied Rules:

Not a change you expect?

Config  rector.php
Rector version: fa3b72 - released at 2026-08-29 22:08