Replace Illuminate\Support\Arr with native PHP array functoin calls
>>> [!note] Migrated issue <!-- Drupal.org comment --> <!-- Migrated from issue #3560052. --> Reported by: [jurgenhaas](https://www.drupal.org/user/168924) Related to !5 >>> <h3 id="summary-problem-motivation">Problem/Motivation</h3> <p>In 4 classes, we're currently using methods from Laravel's <code>Illuminate\Support\Arr</code> utility. That's why we have the dependency on <code>illuminate/support</code> which in itself is a massive package, and it comes with a fairly long list of additional dependencies. That's a lot of unnecessary code.</p> <h3 id="summary-proposed-resolution">Proposed resolution</h3> <p>Replace those utility methods with native PHP array function calls.</p>
issue