managur/Collection

View on GitHub
docs/Collection.php.html

Summary

Maintainability
Test Coverage
<!DOCTYPE html>
<html lang="en">
 <head>
  <meta charset="UTF-8">
  <title>Code Coverage for /home/anthony/git/Collection/src/Collection.php</title>
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <link href="_css/bootstrap.min.css?v=9.2.30" rel="stylesheet" type="text/css">
  <link href="_css/octicons.css?v=9.2.30" rel="stylesheet" type="text/css">
  <link href="_css/style.css?v=9.2.30" rel="stylesheet" type="text/css">
  <link href="_css/custom.css" rel="stylesheet" type="text/css">
 </head>
 <body>
  <header>
   <div class="container-fluid">
    <div class="row">
     <div class="col-md-12">
      <nav aria-label="breadcrumb">
       <ol class="breadcrumb">
         <li class="breadcrumb-item"><a href="index.html">/home/anthony/git/Collection/src</a></li>
         <li class="breadcrumb-item active">Collection.php</li>

       </ol>
      </nav>
     </div>
    </div>
   </div>
  </header>
  <div class="container-fluid">
   <div class="table-responsive">
    <table class="table table-bordered">
     <thead>
      <tr>
       <td>&nbsp;</td>
       <td colspan="10"><div align="center"><strong>Code Coverage</strong></div></td>
      </tr>
      <tr>
       <td>&nbsp;</td>
       <td colspan="3"><div align="center"><strong>Lines</strong></div></td>
       <td colspan="4"><div align="center"><strong>Functions and Methods</strong></div></td>
       <td colspan="3"><div align="center"><strong>Classes and Traits</strong></div></td>
      </tr>
     </thead>
     <tbody>
      <tr>
       <td class="success">Total</td>
       <td class="success big">       <div class="progress">
         <div class="progress-bar bg-success" role="progressbar" aria-valuenow="100.00" aria-valuemin="0" aria-valuemax="100" style="width: 100.00%">
           <span class="sr-only">100.00% covered (success)</span>
         </div>
       </div>
</td>
       <td class="success small"><div align="right">100.00%</div></td>
       <td class="success small"><div align="right">120&nbsp;/&nbsp;120</div></td>
       <td class="success big">       <div class="progress">
         <div class="progress-bar bg-success" role="progressbar" aria-valuenow="100.00" aria-valuemin="0" aria-valuemax="100" style="width: 100.00%">
           <span class="sr-only">100.00% covered (success)</span>
         </div>
       </div>
</td>
       <td class="success small"><div align="right">100.00%</div></td>
       <td class="success small"><div align="right">34&nbsp;/&nbsp;34</div></td>
       <td class="success small"><abbr title="Change Risk Anti-Patterns (CRAP) Index">CRAP</abbr></td>
       <td class="success big">       <div class="progress">
         <div class="progress-bar bg-success" role="progressbar" aria-valuenow="100.00" aria-valuemin="0" aria-valuemax="100" style="width: 100.00%">
           <span class="sr-only">100.00% covered (success)</span>
         </div>
       </div>
</td>
       <td class="success small"><div align="right">100.00%</div></td>
       <td class="success small"><div align="right">1&nbsp;/&nbsp;1</div></td>
      </tr>

      <tr>
       <td class="success"><abbr title="Managur\Collection\Collection">Collection</abbr></td>
       <td class="success big">       <div class="progress">
         <div class="progress-bar bg-success" role="progressbar" aria-valuenow="100.00" aria-valuemin="0" aria-valuemax="100" style="width: 100.00%">
           <span class="sr-only">100.00% covered (success)</span>
         </div>
       </div>
</td>
       <td class="success small"><div align="right">100.00%</div></td>
       <td class="success small"><div align="right">120&nbsp;/&nbsp;120</div></td>
       <td class="success big">       <div class="progress">
         <div class="progress-bar bg-success" role="progressbar" aria-valuenow="100.00" aria-valuemin="0" aria-valuemax="100" style="width: 100.00%">
           <span class="sr-only">100.00% covered (success)</span>
         </div>
       </div>
</td>
       <td class="success small"><div align="right">100.00%</div></td>
       <td class="success small"><div align="right">34&nbsp;/&nbsp;34</div></td>
       <td class="success small">62</td>
       <td class="success big">       <div class="progress">
         <div class="progress-bar bg-success" role="progressbar" aria-valuenow="100.00" aria-valuemin="0" aria-valuemax="100" style="width: 100.00%">
           <span class="sr-only">100.00% covered (success)</span>
         </div>
       </div>
</td>
       <td class="success small"><div align="right">100.00%</div></td>
       <td class="success small"><div align="right">1&nbsp;/&nbsp;1</div></td>
      </tr>

      <tr>
       <td class="success">&nbsp;<a href="#37"><abbr title="__construct(mixed $items)">__construct</abbr></a></td>
       <td class="success big">       <div class="progress">
         <div class="progress-bar bg-success" role="progressbar" aria-valuenow="100.00" aria-valuemin="0" aria-valuemax="100" style="width: 100.00%">
           <span class="sr-only">100.00% covered (success)</span>
         </div>
       </div>
</td>
       <td class="success small"><div align="right">100.00%</div></td>
       <td class="success small"><div align="right">2&nbsp;/&nbsp;2</div></td>
       <td class="success big">       <div class="progress">
         <div class="progress-bar bg-success" role="progressbar" aria-valuenow="100.00" aria-valuemin="0" aria-valuemax="100" style="width: 100.00%">
           <span class="sr-only">100.00% covered (success)</span>
         </div>
       </div>
</td>
       <td class="success small"><div align="right">100.00%</div></td>
       <td class="success small"><div align="right">1&nbsp;/&nbsp;1</div></td>
       <td class="success small">2</td>
       <td class="success" colspan="3"></td>
      </tr>

      <tr>
       <td class="success">&nbsp;<a href="#51"><abbr title="arrayItems(mixed $items): array">arrayItems</abbr></a></td>
       <td class="success big">       <div class="progress">
         <div class="progress-bar bg-success" role="progressbar" aria-valuenow="100.00" aria-valuemin="0" aria-valuemax="100" style="width: 100.00%">
           <span class="sr-only">100.00% covered (success)</span>
         </div>
       </div>
</td>
       <td class="success small"><div align="right">100.00%</div></td>
       <td class="success small"><div align="right">7&nbsp;/&nbsp;7</div></td>
       <td class="success big">       <div class="progress">
         <div class="progress-bar bg-success" role="progressbar" aria-valuenow="100.00" aria-valuemin="0" aria-valuemax="100" style="width: 100.00%">
           <span class="sr-only">100.00% covered (success)</span>
         </div>
       </div>
</td>
       <td class="success small"><div align="right">100.00%</div></td>
       <td class="success small"><div align="right">1&nbsp;/&nbsp;1</div></td>
       <td class="success small">4</td>
       <td class="success" colspan="3"></td>
      </tr>

      <tr>
       <td class="success">&nbsp;<a href="#83"><abbr title="keyStrategy(mixed $value): mixed">keyStrategy</abbr></a></td>
       <td class="success big">       <div class="progress">
         <div class="progress-bar bg-success" role="progressbar" aria-valuenow="100.00" aria-valuemin="0" aria-valuemax="100" style="width: 100.00%">
           <span class="sr-only">100.00% covered (success)</span>
         </div>
       </div>
</td>
       <td class="success small"><div align="right">100.00%</div></td>
       <td class="success small"><div align="right">1&nbsp;/&nbsp;1</div></td>
       <td class="success big">       <div class="progress">
         <div class="progress-bar bg-success" role="progressbar" aria-valuenow="100.00" aria-valuemin="0" aria-valuemax="100" style="width: 100.00%">
           <span class="sr-only">100.00% covered (success)</span>
         </div>
       </div>
</td>
       <td class="success small"><div align="right">100.00%</div></td>
       <td class="success small"><div align="right">1&nbsp;/&nbsp;1</div></td>
       <td class="success small">1</td>
       <td class="success" colspan="3"></td>
      </tr>

      <tr>
       <td class="success">&nbsp;<a href="#97"><abbr title="append(mixed $value): void">append</abbr></a></td>
       <td class="success big">       <div class="progress">
         <div class="progress-bar bg-success" role="progressbar" aria-valuenow="100.00" aria-valuemin="0" aria-valuemax="100" style="width: 100.00%">
           <span class="sr-only">100.00% covered (success)</span>
         </div>
       </div>
</td>
       <td class="success small"><div align="right">100.00%</div></td>
       <td class="success small"><div align="right">4&nbsp;/&nbsp;4</div></td>
       <td class="success big">       <div class="progress">
         <div class="progress-bar bg-success" role="progressbar" aria-valuenow="100.00" aria-valuemin="0" aria-valuemax="100" style="width: 100.00%">
           <span class="sr-only">100.00% covered (success)</span>
         </div>
       </div>
</td>
       <td class="success small"><div align="right">100.00%</div></td>
       <td class="success small"><div align="right">1&nbsp;/&nbsp;1</div></td>
       <td class="success small">2</td>
       <td class="success" colspan="3"></td>
      </tr>

      <tr>
       <td class="success">&nbsp;<a href="#111"><abbr title="offsetSet(mixed $key, mixed $value): void">offsetSet</abbr></a></td>
       <td class="success big">       <div class="progress">
         <div class="progress-bar bg-success" role="progressbar" aria-valuenow="100.00" aria-valuemin="0" aria-valuemax="100" style="width: 100.00%">
           <span class="sr-only">100.00% covered (success)</span>
         </div>
       </div>
</td>
       <td class="success small"><div align="right">100.00%</div></td>
       <td class="success small"><div align="right">7&nbsp;/&nbsp;7</div></td>
       <td class="success big">       <div class="progress">
         <div class="progress-bar bg-success" role="progressbar" aria-valuenow="100.00" aria-valuemin="0" aria-valuemax="100" style="width: 100.00%">
           <span class="sr-only">100.00% covered (success)</span>
         </div>
       </div>
</td>
       <td class="success small"><div align="right">100.00%</div></td>
       <td class="success small"><div align="right">1&nbsp;/&nbsp;1</div></td>
       <td class="success small">2</td>
       <td class="success" colspan="3"></td>
      </tr>

      <tr>
       <td class="success">&nbsp;<a href="#136"><abbr title="checkType(mixed $value, ?string $expectedType): mixed">checkType</abbr></a></td>
       <td class="success big">       <div class="progress">
         <div class="progress-bar bg-success" role="progressbar" aria-valuenow="100.00" aria-valuemin="0" aria-valuemax="100" style="width: 100.00%">
           <span class="sr-only">100.00% covered (success)</span>
         </div>
       </div>
</td>
       <td class="success small"><div align="right">100.00%</div></td>
       <td class="success small"><div align="right">16&nbsp;/&nbsp;16</div></td>
       <td class="success big">       <div class="progress">
         <div class="progress-bar bg-success" role="progressbar" aria-valuenow="100.00" aria-valuemin="0" aria-valuemax="100" style="width: 100.00%">
           <span class="sr-only">100.00% covered (success)</span>
         </div>
       </div>
</td>
       <td class="success small"><div align="right">100.00%</div></td>
       <td class="success small"><div align="right">1&nbsp;/&nbsp;1</div></td>
       <td class="success small">5</td>
       <td class="success" colspan="3"></td>
      </tr>

      <tr>
       <td class="success">&nbsp;<a href="#166"><abbr title="into(string $type): Managur\Collection\Collection">into</abbr></a></td>
       <td class="success big">       <div class="progress">
         <div class="progress-bar bg-success" role="progressbar" aria-valuenow="100.00" aria-valuemin="0" aria-valuemax="100" style="width: 100.00%">
           <span class="sr-only">100.00% covered (success)</span>
         </div>
       </div>
</td>
       <td class="success small"><div align="right">100.00%</div></td>
       <td class="success small"><div align="right">1&nbsp;/&nbsp;1</div></td>
       <td class="success big">       <div class="progress">
         <div class="progress-bar bg-success" role="progressbar" aria-valuenow="100.00" aria-valuemin="0" aria-valuemax="100" style="width: 100.00%">
           <span class="sr-only">100.00% covered (success)</span>
         </div>
       </div>
</td>
       <td class="success small"><div align="right">100.00%</div></td>
       <td class="success small"><div align="right">1&nbsp;/&nbsp;1</div></td>
       <td class="success small">1</td>
       <td class="success" colspan="3"></td>
      </tr>

      <tr>
       <td class="success">&nbsp;<a href="#178"><abbr title="mapInto(callable $callable, string $type): self">mapInto</abbr></a></td>
       <td class="success big">       <div class="progress">
         <div class="progress-bar bg-success" role="progressbar" aria-valuenow="100.00" aria-valuemin="0" aria-valuemax="100" style="width: 100.00%">
           <span class="sr-only">100.00% covered (success)</span>
         </div>
       </div>
</td>
       <td class="success small"><div align="right">100.00%</div></td>
       <td class="success small"><div align="right">1&nbsp;/&nbsp;1</div></td>
       <td class="success big">       <div class="progress">
         <div class="progress-bar bg-success" role="progressbar" aria-valuenow="100.00" aria-valuemin="0" aria-valuemax="100" style="width: 100.00%">
           <span class="sr-only">100.00% covered (success)</span>
         </div>
       </div>
</td>
       <td class="success small"><div align="right">100.00%</div></td>
       <td class="success small"><div align="right">1&nbsp;/&nbsp;1</div></td>
       <td class="success small">1</td>
       <td class="success" colspan="3"></td>
      </tr>

      <tr>
       <td class="success">&nbsp;<a href="#190"><abbr title="newCollectionOfType(string $type, $items): Managur\Collection\Collection">newCollectionOfType</abbr></a></td>
       <td class="success big">       <div class="progress">
         <div class="progress-bar bg-success" role="progressbar" aria-valuenow="100.00" aria-valuemin="0" aria-valuemax="100" style="width: 100.00%">
           <span class="sr-only">100.00% covered (success)</span>
         </div>
       </div>
</td>
       <td class="success small"><div align="right">100.00%</div></td>
       <td class="success small"><div align="right">6&nbsp;/&nbsp;6</div></td>
       <td class="success big">       <div class="progress">
         <div class="progress-bar bg-success" role="progressbar" aria-valuenow="100.00" aria-valuemin="0" aria-valuemax="100" style="width: 100.00%">
           <span class="sr-only">100.00% covered (success)</span>
         </div>
       </div>
</td>
       <td class="success small"><div align="right">100.00%</div></td>
       <td class="success small"><div align="right">1&nbsp;/&nbsp;1</div></td>
       <td class="success small">4</td>
       <td class="success" colspan="3"></td>
      </tr>

      <tr>
       <td class="success">&nbsp;<a href="#211"><abbr title="map(callable $callable): static">map</abbr></a></td>
       <td class="success big">       <div class="progress">
         <div class="progress-bar bg-success" role="progressbar" aria-valuenow="100.00" aria-valuemin="0" aria-valuemax="100" style="width: 100.00%">
           <span class="sr-only">100.00% covered (success)</span>
         </div>
       </div>
</td>
       <td class="success small"><div align="right">100.00%</div></td>
       <td class="success small"><div align="right">2&nbsp;/&nbsp;2</div></td>
       <td class="success big">       <div class="progress">
         <div class="progress-bar bg-success" role="progressbar" aria-valuenow="100.00" aria-valuemin="0" aria-valuemax="100" style="width: 100.00%">
           <span class="sr-only">100.00% covered (success)</span>
         </div>
       </div>
</td>
       <td class="success small"><div align="right">100.00%</div></td>
       <td class="success small"><div align="right">1&nbsp;/&nbsp;1</div></td>
       <td class="success small">1</td>
       <td class="success" colspan="3"></td>
      </tr>

      <tr>
       <td class="success">&nbsp;<a href="#236"><abbr title="slice(int $offset, ?int $length): static">slice</abbr></a></td>
       <td class="success big">       <div class="progress">
         <div class="progress-bar bg-success" role="progressbar" aria-valuenow="100.00" aria-valuemin="0" aria-valuemax="100" style="width: 100.00%">
           <span class="sr-only">100.00% covered (success)</span>
         </div>
       </div>
</td>
       <td class="success small"><div align="right">100.00%</div></td>
       <td class="success small"><div align="right">1&nbsp;/&nbsp;1</div></td>
       <td class="success big">       <div class="progress">
         <div class="progress-bar bg-success" role="progressbar" aria-valuenow="100.00" aria-valuemin="0" aria-valuemax="100" style="width: 100.00%">
           <span class="sr-only">100.00% covered (success)</span>
         </div>
       </div>
</td>
       <td class="success small"><div align="right">100.00%</div></td>
       <td class="success small"><div align="right">1&nbsp;/&nbsp;1</div></td>
       <td class="success small">1</td>
       <td class="success" colspan="3"></td>
      </tr>

      <tr>
       <td class="success">&nbsp;<a href="#248"><abbr title="each(callable $callable): void">each</abbr></a></td>
       <td class="success big">       <div class="progress">
         <div class="progress-bar bg-success" role="progressbar" aria-valuenow="100.00" aria-valuemin="0" aria-valuemax="100" style="width: 100.00%">
           <span class="sr-only">100.00% covered (success)</span>
         </div>
       </div>
</td>
       <td class="success small"><div align="right">100.00%</div></td>
       <td class="success small"><div align="right">2&nbsp;/&nbsp;2</div></td>
       <td class="success big">       <div class="progress">
         <div class="progress-bar bg-success" role="progressbar" aria-valuenow="100.00" aria-valuemin="0" aria-valuemax="100" style="width: 100.00%">
           <span class="sr-only">100.00% covered (success)</span>
         </div>
       </div>
</td>
       <td class="success small"><div align="right">100.00%</div></td>
       <td class="success small"><div align="right">1&nbsp;/&nbsp;1</div></td>
       <td class="success small">1</td>
       <td class="success" colspan="3"></td>
      </tr>

      <tr>
       <td class="success">&nbsp;<a href="#262"><abbr title="reduce(callable $callable, mixed $carry): mixed">reduce</abbr></a></td>
       <td class="success big">       <div class="progress">
         <div class="progress-bar bg-success" role="progressbar" aria-valuenow="100.00" aria-valuemin="0" aria-valuemax="100" style="width: 100.00%">
           <span class="sr-only">100.00% covered (success)</span>
         </div>
       </div>
</td>
       <td class="success small"><div align="right">100.00%</div></td>
       <td class="success small"><div align="right">2&nbsp;/&nbsp;2</div></td>
       <td class="success big">       <div class="progress">
         <div class="progress-bar bg-success" role="progressbar" aria-valuenow="100.00" aria-valuemin="0" aria-valuemax="100" style="width: 100.00%">
           <span class="sr-only">100.00% covered (success)</span>
         </div>
       </div>
</td>
       <td class="success small"><div align="right">100.00%</div></td>
       <td class="success small"><div align="right">1&nbsp;/&nbsp;1</div></td>
       <td class="success small">1</td>
       <td class="success" colspan="3"></td>
      </tr>

      <tr>
       <td class="success">&nbsp;<a href="#276"><abbr title="filter(?callable $callable, int $mode): static">filter</abbr></a></td>
       <td class="success big">       <div class="progress">
         <div class="progress-bar bg-success" role="progressbar" aria-valuenow="100.00" aria-valuemin="0" aria-valuemax="100" style="width: 100.00%">
           <span class="sr-only">100.00% covered (success)</span>
         </div>
       </div>
</td>
       <td class="success small"><div align="right">100.00%</div></td>
       <td class="success small"><div align="right">4&nbsp;/&nbsp;4</div></td>
       <td class="success big">       <div class="progress">
         <div class="progress-bar bg-success" role="progressbar" aria-valuenow="100.00" aria-valuemin="0" aria-valuemax="100" style="width: 100.00%">
           <span class="sr-only">100.00% covered (success)</span>
         </div>
       </div>
</td>
       <td class="success small"><div align="right">100.00%</div></td>
       <td class="success small"><div align="right">1&nbsp;/&nbsp;1</div></td>
       <td class="success small">3</td>
       <td class="success" colspan="3"></td>
      </tr>

      <tr>
       <td class="success">&nbsp;<a href="#293"><abbr title="first(?callable $callable, mixed $default): mixed">first</abbr></a></td>
       <td class="success big">       <div class="progress">
         <div class="progress-bar bg-success" role="progressbar" aria-valuenow="100.00" aria-valuemin="0" aria-valuemax="100" style="width: 100.00%">
           <span class="sr-only">100.00% covered (success)</span>
         </div>
       </div>
</td>
       <td class="success small"><div align="right">100.00%</div></td>
       <td class="success small"><div align="right">7&nbsp;/&nbsp;7</div></td>
       <td class="success big">       <div class="progress">
         <div class="progress-bar bg-success" role="progressbar" aria-valuenow="100.00" aria-valuemin="0" aria-valuemax="100" style="width: 100.00%">
           <span class="sr-only">100.00% covered (success)</span>
         </div>
       </div>
</td>
       <td class="success small"><div align="right">100.00%</div></td>
       <td class="success small"><div align="right">1&nbsp;/&nbsp;1</div></td>
       <td class="success small">4</td>
       <td class="success" colspan="3"></td>
      </tr>

      <tr>
       <td class="success">&nbsp;<a href="#314"><abbr title="last(?callable $callable, mixed $default): mixed">last</abbr></a></td>
       <td class="success big">       <div class="progress">
         <div class="progress-bar bg-success" role="progressbar" aria-valuenow="100.00" aria-valuemin="0" aria-valuemax="100" style="width: 100.00%">
           <span class="sr-only">100.00% covered (success)</span>
         </div>
       </div>
</td>
       <td class="success small"><div align="right">100.00%</div></td>
       <td class="success small"><div align="right">4&nbsp;/&nbsp;4</div></td>
       <td class="success big">       <div class="progress">
         <div class="progress-bar bg-success" role="progressbar" aria-valuenow="100.00" aria-valuemin="0" aria-valuemax="100" style="width: 100.00%">
           <span class="sr-only">100.00% covered (success)</span>
         </div>
       </div>
</td>
       <td class="success small"><div align="right">100.00%</div></td>
       <td class="success small"><div align="right">1&nbsp;/&nbsp;1</div></td>
       <td class="success small">3</td>
       <td class="success" colspan="3"></td>
      </tr>

      <tr>
       <td class="success">&nbsp;<a href="#329"><abbr title="contains(mixed $check): bool">contains</abbr></a></td>
       <td class="success big">       <div class="progress">
         <div class="progress-bar bg-success" role="progressbar" aria-valuenow="100.00" aria-valuemin="0" aria-valuemax="100" style="width: 100.00%">
           <span class="sr-only">100.00% covered (success)</span>
         </div>
       </div>
</td>
       <td class="success small"><div align="right">100.00%</div></td>
       <td class="success small"><div align="right">3&nbsp;/&nbsp;3</div></td>
       <td class="success big">       <div class="progress">
         <div class="progress-bar bg-success" role="progressbar" aria-valuenow="100.00" aria-valuemin="0" aria-valuemax="100" style="width: 100.00%">
           <span class="sr-only">100.00% covered (success)</span>
         </div>
       </div>
</td>
       <td class="success small"><div align="right">100.00%</div></td>
       <td class="success small"><div align="right">1&nbsp;/&nbsp;1</div></td>
       <td class="success small">2</td>
       <td class="success" colspan="3"></td>
      </tr>

      <tr>
       <td class="success">&nbsp;<a href="#342"><abbr title="pop(): mixed">pop</abbr></a></td>
       <td class="success big">       <div class="progress">
         <div class="progress-bar bg-success" role="progressbar" aria-valuenow="100.00" aria-valuemin="0" aria-valuemax="100" style="width: 100.00%">
           <span class="sr-only">100.00% covered (success)</span>
         </div>
       </div>
</td>
       <td class="success small"><div align="right">100.00%</div></td>
       <td class="success small"><div align="right">4&nbsp;/&nbsp;4</div></td>
       <td class="success big">       <div class="progress">
         <div class="progress-bar bg-success" role="progressbar" aria-valuenow="100.00" aria-valuemin="0" aria-valuemax="100" style="width: 100.00%">
           <span class="sr-only">100.00% covered (success)</span>
         </div>
       </div>
</td>
       <td class="success small"><div align="right">100.00%</div></td>
       <td class="success small"><div align="right">1&nbsp;/&nbsp;1</div></td>
       <td class="success small">1</td>
       <td class="success" colspan="3"></td>
      </tr>

      <tr>
       <td class="success">&nbsp;<a href="#355"><abbr title="push($vals): void">push</abbr></a></td>
       <td class="success big">       <div class="progress">
         <div class="progress-bar bg-success" role="progressbar" aria-valuenow="100.00" aria-valuemin="0" aria-valuemax="100" style="width: 100.00%">
           <span class="sr-only">100.00% covered (success)</span>
         </div>
       </div>
</td>
       <td class="success small"><div align="right">100.00%</div></td>
       <td class="success small"><div align="right">2&nbsp;/&nbsp;2</div></td>
       <td class="success big">       <div class="progress">
         <div class="progress-bar bg-success" role="progressbar" aria-valuenow="100.00" aria-valuemin="0" aria-valuemax="100" style="width: 100.00%">
           <span class="sr-only">100.00% covered (success)</span>
         </div>
       </div>
</td>
       <td class="success small"><div align="right">100.00%</div></td>
       <td class="success small"><div align="right">1&nbsp;/&nbsp;1</div></td>
       <td class="success small">2</td>
       <td class="success" colspan="3"></td>
      </tr>

      <tr>
       <td class="success">&nbsp;<a href="#371"><abbr title="merge(Managur\Collection\Collection $add): static">merge</abbr></a></td>
       <td class="success big">       <div class="progress">
         <div class="progress-bar bg-success" role="progressbar" aria-valuenow="100.00" aria-valuemin="0" aria-valuemax="100" style="width: 100.00%">
           <span class="sr-only">100.00% covered (success)</span>
         </div>
       </div>
</td>
       <td class="success small"><div align="right">100.00%</div></td>
       <td class="success small"><div align="right">4&nbsp;/&nbsp;4</div></td>
       <td class="success big">       <div class="progress">
         <div class="progress-bar bg-success" role="progressbar" aria-valuenow="100.00" aria-valuemin="0" aria-valuemax="100" style="width: 100.00%">
           <span class="sr-only">100.00% covered (success)</span>
         </div>
       </div>
</td>
       <td class="success small"><div align="right">100.00%</div></td>
       <td class="success small"><div align="right">1&nbsp;/&nbsp;1</div></td>
       <td class="success small">2</td>
       <td class="success" colspan="3"></td>
      </tr>

      <tr>
       <td class="success">&nbsp;<a href="#389"><abbr title="sort(int $flags): static">sort</abbr></a></td>
       <td class="success big">       <div class="progress">
         <div class="progress-bar bg-success" role="progressbar" aria-valuenow="100.00" aria-valuemin="0" aria-valuemax="100" style="width: 100.00%">
           <span class="sr-only">100.00% covered (success)</span>
         </div>
       </div>
</td>
       <td class="success small"><div align="right">100.00%</div></td>
       <td class="success small"><div align="right">5&nbsp;/&nbsp;5</div></td>
       <td class="success big">       <div class="progress">
         <div class="progress-bar bg-success" role="progressbar" aria-valuenow="100.00" aria-valuemin="0" aria-valuemax="100" style="width: 100.00%">
           <span class="sr-only">100.00% covered (success)</span>
         </div>
       </div>
</td>
       <td class="success small"><div align="right">100.00%</div></td>
       <td class="success small"><div align="right">1&nbsp;/&nbsp;1</div></td>
       <td class="success small">2</td>
       <td class="success" colspan="3"></td>
      </tr>

      <tr>
       <td class="success">&nbsp;<a href="#409"><abbr title="usort(callable $callable): static">usort</abbr></a></td>
       <td class="success big">       <div class="progress">
         <div class="progress-bar bg-success" role="progressbar" aria-valuenow="100.00" aria-valuemin="0" aria-valuemax="100" style="width: 100.00%">
           <span class="sr-only">100.00% covered (success)</span>
         </div>
       </div>
</td>
       <td class="success small"><div align="right">100.00%</div></td>
       <td class="success small"><div align="right">5&nbsp;/&nbsp;5</div></td>
       <td class="success big">       <div class="progress">
         <div class="progress-bar bg-success" role="progressbar" aria-valuenow="100.00" aria-valuemin="0" aria-valuemax="100" style="width: 100.00%">
           <span class="sr-only">100.00% covered (success)</span>
         </div>
       </div>
</td>
       <td class="success small"><div align="right">100.00%</div></td>
       <td class="success small"><div align="right">1&nbsp;/&nbsp;1</div></td>
       <td class="success small">2</td>
       <td class="success" colspan="3"></td>
      </tr>

      <tr>
       <td class="success">&nbsp;<a href="#427"><abbr title="asort(int $flags): static">asort</abbr></a></td>
       <td class="success big">       <div class="progress">
         <div class="progress-bar bg-success" role="progressbar" aria-valuenow="100.00" aria-valuemin="0" aria-valuemax="100" style="width: 100.00%">
           <span class="sr-only">100.00% covered (success)</span>
         </div>
       </div>
</td>
       <td class="success small"><div align="right">100.00%</div></td>
       <td class="success small"><div align="right">3&nbsp;/&nbsp;3</div></td>
       <td class="success big">       <div class="progress">
         <div class="progress-bar bg-success" role="progressbar" aria-valuenow="100.00" aria-valuemin="0" aria-valuemax="100" style="width: 100.00%">
           <span class="sr-only">100.00% covered (success)</span>
         </div>
       </div>
</td>
       <td class="success small"><div align="right">100.00%</div></td>
       <td class="success small"><div align="right">1&nbsp;/&nbsp;1</div></td>
       <td class="success small">1</td>
       <td class="success" colspan="3"></td>
      </tr>

      <tr>
       <td class="success">&nbsp;<a href="#442"><abbr title="uasort(callable $callable): static">uasort</abbr></a></td>
       <td class="success big">       <div class="progress">
         <div class="progress-bar bg-success" role="progressbar" aria-valuenow="100.00" aria-valuemin="0" aria-valuemax="100" style="width: 100.00%">
           <span class="sr-only">100.00% covered (success)</span>
         </div>
       </div>
</td>
       <td class="success small"><div align="right">100.00%</div></td>
       <td class="success small"><div align="right">3&nbsp;/&nbsp;3</div></td>
       <td class="success big">       <div class="progress">
         <div class="progress-bar bg-success" role="progressbar" aria-valuenow="100.00" aria-valuemin="0" aria-valuemax="100" style="width: 100.00%">
           <span class="sr-only">100.00% covered (success)</span>
         </div>
       </div>
</td>
       <td class="success small"><div align="right">100.00%</div></td>
       <td class="success small"><div align="right">1&nbsp;/&nbsp;1</div></td>
       <td class="success small">1</td>
       <td class="success" colspan="3"></td>
      </tr>

      <tr>
       <td class="success">&nbsp;<a href="#457"><abbr title="shuffle(int $seed): static">shuffle</abbr></a></td>
       <td class="success big">       <div class="progress">
         <div class="progress-bar bg-success" role="progressbar" aria-valuenow="100.00" aria-valuemin="0" aria-valuemax="100" style="width: 100.00%">
           <span class="sr-only">100.00% covered (success)</span>
         </div>
       </div>
</td>
       <td class="success small"><div align="right">100.00%</div></td>
       <td class="success small"><div align="right">5&nbsp;/&nbsp;5</div></td>
       <td class="success big">       <div class="progress">
         <div class="progress-bar bg-success" role="progressbar" aria-valuenow="100.00" aria-valuemin="0" aria-valuemax="100" style="width: 100.00%">
           <span class="sr-only">100.00% covered (success)</span>
         </div>
       </div>
</td>
       <td class="success small"><div align="right">100.00%</div></td>
       <td class="success small"><div align="right">1&nbsp;/&nbsp;1</div></td>
       <td class="success small">2</td>
       <td class="success" colspan="3"></td>
      </tr>

      <tr>
       <td class="success">&nbsp;<a href="#474"><abbr title="implode($glue, callable $callable): string">implode</abbr></a></td>
       <td class="success big">       <div class="progress">
         <div class="progress-bar bg-success" role="progressbar" aria-valuenow="100.00" aria-valuemin="0" aria-valuemax="100" style="width: 100.00%">
           <span class="sr-only">100.00% covered (success)</span>
         </div>
       </div>
</td>
       <td class="success small"><div align="right">100.00%</div></td>
       <td class="success small"><div align="right">4&nbsp;/&nbsp;4</div></td>
       <td class="success big">       <div class="progress">
         <div class="progress-bar bg-success" role="progressbar" aria-valuenow="100.00" aria-valuemin="0" aria-valuemax="100" style="width: 100.00%">
           <span class="sr-only">100.00% covered (success)</span>
         </div>
       </div>
</td>
       <td class="success small"><div align="right">100.00%</div></td>
       <td class="success small"><div align="right">1&nbsp;/&nbsp;1</div></td>
       <td class="success small">2</td>
       <td class="success" colspan="3"></td>
      </tr>

      <tr>
       <td class="success">&nbsp;<a href="#490"><abbr title="getNewInstance($data): static">getNewInstance</abbr></a></td>
       <td class="success big">       <div class="progress">
         <div class="progress-bar bg-success" role="progressbar" aria-valuenow="100.00" aria-valuemin="0" aria-valuemax="100" style="width: 100.00%">
           <span class="sr-only">100.00% covered (success)</span>
         </div>
       </div>
</td>
       <td class="success small"><div align="right">100.00%</div></td>
       <td class="success small"><div align="right">4&nbsp;/&nbsp;4</div></td>
       <td class="success big">       <div class="progress">
         <div class="progress-bar bg-success" role="progressbar" aria-valuenow="100.00" aria-valuemin="0" aria-valuemax="100" style="width: 100.00%">
           <span class="sr-only">100.00% covered (success)</span>
         </div>
       </div>
</td>
       <td class="success small"><div align="right">100.00%</div></td>
       <td class="success small"><div align="right">1&nbsp;/&nbsp;1</div></td>
       <td class="success small">2</td>
       <td class="success" colspan="3"></td>
      </tr>

      <tr>
       <td class="success">&nbsp;<a href="#509"><abbr title="getTypedCollection(mixed $data, ?string $keyType, ?string $valueType): Managur\Collection\Collection">getTypedCollection</abbr></a></td>
       <td class="success big">       <div class="progress">
         <div class="progress-bar bg-success" role="progressbar" aria-valuenow="100.00" aria-valuemin="0" aria-valuemax="100" style="width: 100.00%">
           <span class="sr-only">100.00% covered (success)</span>
         </div>
       </div>
</td>
       <td class="success small"><div align="right">100.00%</div></td>
       <td class="success small"><div align="right">5&nbsp;/&nbsp;5</div></td>
       <td class="success big">       <div class="progress">
         <div class="progress-bar bg-success" role="progressbar" aria-valuenow="100.00" aria-valuemin="0" aria-valuemax="100" style="width: 100.00%">
           <span class="sr-only">100.00% covered (success)</span>
         </div>
       </div>
</td>
       <td class="success small"><div align="right">100.00%</div></td>
       <td class="success small"><div align="right">1&nbsp;/&nbsp;1</div></td>
       <td class="success small">1</td>
       <td class="success" colspan="3"></td>
      </tr>

      <tr>
       <td class="success">&nbsp;<a href="#532"><abbr title="newTypedValueCollection(string $valueType, mixed $data): Managur\Collection\Collection">newTypedValueCollection</abbr></a></td>
       <td class="success big">       <div class="progress">
         <div class="progress-bar bg-success" role="progressbar" aria-valuenow="100.00" aria-valuemin="0" aria-valuemax="100" style="width: 100.00%">
           <span class="sr-only">100.00% covered (success)</span>
         </div>
       </div>
</td>
       <td class="success small"><div align="right">100.00%</div></td>
       <td class="success small"><div align="right">1&nbsp;/&nbsp;1</div></td>
       <td class="success big">       <div class="progress">
         <div class="progress-bar bg-success" role="progressbar" aria-valuenow="100.00" aria-valuemin="0" aria-valuemax="100" style="width: 100.00%">
           <span class="sr-only">100.00% covered (success)</span>
         </div>
       </div>
</td>
       <td class="success small"><div align="right">100.00%</div></td>
       <td class="success small"><div align="right">1&nbsp;/&nbsp;1</div></td>
       <td class="success small">1</td>
       <td class="success" colspan="3"></td>
      </tr>

      <tr>
       <td class="success">&nbsp;<a href="#545"><abbr title="newTypedKeyCollection(string $keyType, mixed $data): Managur\Collection\Collection">newTypedKeyCollection</abbr></a></td>
       <td class="success big">       <div class="progress">
         <div class="progress-bar bg-success" role="progressbar" aria-valuenow="100.00" aria-valuemin="0" aria-valuemax="100" style="width: 100.00%">
           <span class="sr-only">100.00% covered (success)</span>
         </div>
       </div>
</td>
       <td class="success small"><div align="right">100.00%</div></td>
       <td class="success small"><div align="right">1&nbsp;/&nbsp;1</div></td>
       <td class="success big">       <div class="progress">
         <div class="progress-bar bg-success" role="progressbar" aria-valuenow="100.00" aria-valuemin="0" aria-valuemax="100" style="width: 100.00%">
           <span class="sr-only">100.00% covered (success)</span>
         </div>
       </div>
</td>
       <td class="success small"><div align="right">100.00%</div></td>
       <td class="success small"><div align="right">1&nbsp;/&nbsp;1</div></td>
       <td class="success small">1</td>
       <td class="success" colspan="3"></td>
      </tr>

      <tr>
       <td class="success">&nbsp;<a href="#558"><abbr title="newTypedCollection(?string $keyType, ?string $valueType, mixed $data): Managur\Collection\Collection">newTypedCollection</abbr></a></td>
       <td class="success big">       <div class="progress">
         <div class="progress-bar bg-success" role="progressbar" aria-valuenow="100.00" aria-valuemin="0" aria-valuemax="100" style="width: 100.00%">
           <span class="sr-only">100.00% covered (success)</span>
         </div>
       </div>
</td>
       <td class="success small"><div align="right">100.00%</div></td>
       <td class="success small"><div align="right">1&nbsp;/&nbsp;1</div></td>
       <td class="success big">       <div class="progress">
         <div class="progress-bar bg-success" role="progressbar" aria-valuenow="100.00" aria-valuemin="0" aria-valuemax="100" style="width: 100.00%">
           <span class="sr-only">100.00% covered (success)</span>
         </div>
       </div>
</td>
       <td class="success small"><div align="right">100.00%</div></td>
       <td class="success small"><div align="right">1&nbsp;/&nbsp;1</div></td>
       <td class="success small">1</td>
       <td class="success" colspan="3"></td>
      </tr>

      <tr>
       <td class="success">&nbsp;<a href="#566"><abbr title="jsonSerialize(): array">jsonSerialize</abbr></a></td>
       <td class="success big">       <div class="progress">
         <div class="progress-bar bg-success" role="progressbar" aria-valuenow="100.00" aria-valuemin="0" aria-valuemax="100" style="width: 100.00%">
           <span class="sr-only">100.00% covered (success)</span>
         </div>
       </div>
</td>
       <td class="success small"><div align="right">100.00%</div></td>
       <td class="success small"><div align="right">1&nbsp;/&nbsp;1</div></td>
       <td class="success big">       <div class="progress">
         <div class="progress-bar bg-success" role="progressbar" aria-valuenow="100.00" aria-valuemin="0" aria-valuemax="100" style="width: 100.00%">
           <span class="sr-only">100.00% covered (success)</span>
         </div>
       </div>
</td>
       <td class="success small"><div align="right">100.00%</div></td>
       <td class="success small"><div align="right">1&nbsp;/&nbsp;1</div></td>
       <td class="success small">1</td>
       <td class="success" colspan="3"></td>
      </tr>

      <tr>
       <td class="success">&nbsp;<a href="#571"><abbr title="isEmpty(): bool">isEmpty</abbr></a></td>
       <td class="success big">       <div class="progress">
         <div class="progress-bar bg-success" role="progressbar" aria-valuenow="100.00" aria-valuemin="0" aria-valuemax="100" style="width: 100.00%">
           <span class="sr-only">100.00% covered (success)</span>
         </div>
       </div>
</td>
       <td class="success small"><div align="right">100.00%</div></td>
       <td class="success small"><div align="right">1&nbsp;/&nbsp;1</div></td>
       <td class="success big">       <div class="progress">
         <div class="progress-bar bg-success" role="progressbar" aria-valuenow="100.00" aria-valuemin="0" aria-valuemax="100" style="width: 100.00%">
           <span class="sr-only">100.00% covered (success)</span>
         </div>
       </div>
</td>
       <td class="success small"><div align="right">100.00%</div></td>
       <td class="success small"><div align="right">1&nbsp;/&nbsp;1</div></td>
       <td class="success small">1</td>
       <td class="success" colspan="3"></td>
      </tr>

      <tr>
       <td class="success">&nbsp;<a href="#576"><abbr title="isNotEmpty(): bool">isNotEmpty</abbr></a></td>
       <td class="success big">       <div class="progress">
         <div class="progress-bar bg-success" role="progressbar" aria-valuenow="100.00" aria-valuemin="0" aria-valuemax="100" style="width: 100.00%">
           <span class="sr-only">100.00% covered (success)</span>
         </div>
       </div>
</td>
       <td class="success small"><div align="right">100.00%</div></td>
       <td class="success small"><div align="right">1&nbsp;/&nbsp;1</div></td>
       <td class="success big">       <div class="progress">
         <div class="progress-bar bg-success" role="progressbar" aria-valuenow="100.00" aria-valuemin="0" aria-valuemax="100" style="width: 100.00%">
           <span class="sr-only">100.00% covered (success)</span>
         </div>
       </div>
</td>
       <td class="success small"><div align="right">100.00%</div></td>
       <td class="success small"><div align="right">1&nbsp;/&nbsp;1</div></td>
       <td class="success small">1</td>
       <td class="success" colspan="3"></td>
      </tr>


     </tbody>
    </table>
   </div>
<table id="code" class="table table-borderless table-condensed">
<tbody>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="1" href="#1">1</a></td><td class="col-11 codeLine"><span class="default">&lt;?php</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="2" href="#2">2</a></td><td class="col-11 codeLine"></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="3" href="#3">3</a></td><td class="col-11 codeLine"><span class="keyword">namespace</span><span class="default">&nbsp;</span><span class="default">Managur\Collection</span><span class="keyword">;</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="4" href="#4">4</a></td><td class="col-11 codeLine"></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="5" href="#5">5</a></td><td class="col-11 codeLine"><span class="keyword">use</span><span class="default">&nbsp;</span><span class="default">ArrayObject</span><span class="keyword">;</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="6" href="#6">6</a></td><td class="col-11 codeLine"><span class="keyword">use</span><span class="default">&nbsp;</span><span class="default">JsonSerializable</span><span class="keyword">;</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="7" href="#7">7</a></td><td class="col-11 codeLine"><span class="keyword">use</span><span class="default">&nbsp;</span><span class="default">ReflectionClass</span><span class="keyword">;</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="8" href="#8">8</a></td><td class="col-11 codeLine"><span class="keyword">use</span><span class="default">&nbsp;</span><span class="default">Traversable</span><span class="keyword">;</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="9" href="#9">9</a></td><td class="col-11 codeLine"><span class="keyword">use</span><span class="default">&nbsp;</span><span class="default">TypeError</span><span class="keyword">;</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="10" href="#10">10</a></td><td class="col-11 codeLine"></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="11" href="#11">11</a></td><td class="col-11 codeLine"><span class="keyword">use</span><span class="default">&nbsp;</span><span class="keyword">function</span><span class="default">&nbsp;</span><span class="default">gettype</span><span class="keyword">;</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="12" href="#12">12</a></td><td class="col-11 codeLine"></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="13" href="#13">13</a></td><td class="col-11 codeLine"><span class="keyword">use</span><span class="default">&nbsp;</span><span class="keyword">const</span><span class="default">&nbsp;</span><span class="default">ARRAY_FILTER_USE_BOTH</span><span class="keyword">;</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="14" href="#14">14</a></td><td class="col-11 codeLine"><span class="keyword">use</span><span class="default">&nbsp;</span><span class="keyword">const</span><span class="default">&nbsp;</span><span class="default">ARRAY_FILTER_USE_KEY</span><span class="keyword">;</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="15" href="#15">15</a></td><td class="col-11 codeLine"><span class="keyword">use</span><span class="default">&nbsp;</span><span class="keyword">const</span><span class="default">&nbsp;</span><span class="default">SORT_REGULAR</span><span class="keyword">;</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="16" href="#16">16</a></td><td class="col-11 codeLine"></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="17" href="#17">17</a></td><td class="col-11 codeLine"><span class="comment">/**</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="18" href="#18">18</a></td><td class="col-11 codeLine"><span class="comment">&nbsp;*&nbsp;Managur&nbsp;Generic&nbsp;Collection&nbsp;Class</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="19" href="#19">19</a></td><td class="col-11 codeLine"><span class="comment">&nbsp;*&nbsp;NOTE:&nbsp;Collections&nbsp;are&nbsp;NOT&nbsp;immutable.&nbsp;However,&nbsp;calling&nbsp;any&nbsp;of&nbsp;the&nbsp;functional&nbsp;methods&nbsp;(map/reduce/filter/sort&nbsp;etc)&nbsp;will</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="20" href="#20">20</a></td><td class="col-11 codeLine"><span class="comment">&nbsp;*&nbsp;return&nbsp;a&nbsp;clone&nbsp;of&nbsp;the&nbsp;original&nbsp;with&nbsp;the&nbsp;required&nbsp;changes&nbsp;applied.</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="21" href="#21">21</a></td><td class="col-11 codeLine"><span class="comment">&nbsp;*</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="22" href="#22">22</a></td><td class="col-11 codeLine"><span class="comment">&nbsp;*&nbsp;@package&nbsp;Managur</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="23" href="#23">23</a></td><td class="col-11 codeLine"><span class="comment">&nbsp;*&nbsp;@license&nbsp;MIT</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="24" href="#24">24</a></td><td class="col-11 codeLine"><span class="comment">&nbsp;*/</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="25" href="#25">25</a></td><td class="col-11 codeLine"><span class="keyword">class</span><span class="default">&nbsp;</span><span class="default">Collection</span><span class="default">&nbsp;</span><span class="keyword">extends</span><span class="default">&nbsp;</span><span class="default">ArrayObject</span><span class="default">&nbsp;</span><span class="keyword">implements</span><span class="default">&nbsp;</span><span class="default">JsonSerializable</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="26" href="#26">26</a></td><td class="col-11 codeLine"><span class="keyword">{</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="27" href="#27">27</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="keyword">public</span><span class="default">&nbsp;</span><span class="keyword">const</span><span class="default">&nbsp;</span><span class="default">FILTER_USE_KEY</span><span class="default">&nbsp;</span><span class="keyword">=</span><span class="default">&nbsp;</span><span class="default">ARRAY_FILTER_USE_KEY</span><span class="keyword">;</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="28" href="#28">28</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="keyword">public</span><span class="default">&nbsp;</span><span class="keyword">const</span><span class="default">&nbsp;</span><span class="default">FILTER_USE_BOTH</span><span class="default">&nbsp;</span><span class="keyword">=</span><span class="default">&nbsp;</span><span class="default">ARRAY_FILTER_USE_BOTH</span><span class="keyword">;</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="29" href="#29">29</a></td><td class="col-11 codeLine"></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="30" href="#30">30</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="comment">/**&nbsp;@var&nbsp;string|null&nbsp;Enforce&nbsp;collection&nbsp;key&nbsp;type&nbsp;by&nbsp;defining&nbsp;type&nbsp;here&nbsp;*/</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="31" href="#31">31</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="keyword">protected</span><span class="default">&nbsp;</span><span class="keyword">?</span><span class="default">string</span><span class="default">&nbsp;</span><span class="default">$keyType</span><span class="default">&nbsp;</span><span class="keyword">=</span><span class="default">&nbsp;</span><span class="default">null</span><span class="keyword">;</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="32" href="#32">32</a></td><td class="col-11 codeLine"></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="33" href="#33">33</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="comment">/**&nbsp;@var&nbsp;string|null&nbsp;Enforce&nbsp;collection&nbsp;value&nbsp;type&nbsp;by&nbsp;defining&nbsp;type&nbsp;here&nbsp;*/</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="34" href="#34">34</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="keyword">protected</span><span class="default">&nbsp;</span><span class="keyword">?</span><span class="default">string</span><span class="default">&nbsp;</span><span class="default">$valueType</span><span class="default">&nbsp;</span><span class="keyword">=</span><span class="default">&nbsp;</span><span class="default">null</span><span class="keyword">;</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="35" href="#35">35</a></td><td class="col-11 codeLine"></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="36" href="#36">36</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="comment">//&nbsp;phpcs:ignore&nbsp;PSR12.Operators.OperatorSpacing&nbsp;--&nbsp;Broken&nbsp;until&nbsp;3.6.0</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="37" href="#37">37</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="keyword">public</span><span class="default">&nbsp;</span><span class="keyword">function</span><span class="default">&nbsp;</span><span class="default">__construct</span><span class="keyword">(</span><span class="default">mixed</span><span class="default">&nbsp;</span><span class="default">$items</span><span class="default">&nbsp;</span><span class="keyword">=</span><span class="default">&nbsp;</span><span class="keyword">[</span><span class="keyword">]</span><span class="keyword">)</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="38" href="#38">38</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="keyword">{</span></td></tr>
    <tr class="covered-by-large-tests popin d-flex"><td  data-title="121 tests cover line 39" data-content="&lt;ul&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::nonIterableTypeCollects&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::basicTypeAndCount with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::basicTypeAndCount with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::basicTypeAndCount with data set #2&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::basicTypeAndCount with data set #3&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::basicTypeAndCount with data set #4&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::appendByMethod with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::appendByMethod with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::appendByMethod with data set #2&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::appendByMethod with data set #3&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::appendByMethod with data set #4&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::appendLikeArray with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::appendLikeArray with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::appendLikeArray with data set #2&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::appendLikeArray with data set #3&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::appendLikeArray with data set #4&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::offsetSetByMethod with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::offsetSetByMethod with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::offsetSetByMethod with data set #2&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::offsetSetByMethod with data set #3&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::offsetSetLikeArray with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::offsetSetLikeArray with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::offsetSetLikeArray with data set #2&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::offsetSetLikeArray with data set #3&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollections with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollections with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollections with data set #2&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollections with data set #3&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollectionsWithIncorrectTypes with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollectionsWithIncorrectTypes with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollectionsWithIncorrectTypes with data set #2&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollectionsWithIncorrectTypes with data set #3&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollectionsWithIncorrectTypes with data set #4&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollectionsWithIncorrectTypes with data set #5&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollectionsWithIncorrectTypes with data set #6&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollectionsWithIncorrectTypes with data set #7&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollectionsWithIncorrectTypes with data set #8&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::checkMapOfCollectionData with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::checkMapOfCollectionData with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::checkMapOfCollectionData with data set #2&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::checkMapOfCollectionData with data set #3&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::checkEachEntryInTheCollection with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::checkEachEntryInTheCollection with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::checkEachEntryInTheCollection with data set #2&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::checkEachEntryInTheCollection with data set #3&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::reduceTheCollectionToAString with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::reduceTheCollectionToAString with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::reduceTheCollectionToAString with data set #2&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::reduceTheCollectionToAString with data set #3&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::filterTheCollection with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::filterTheCollection with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::filterTheCollection with data set #2&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::filterTheCollection with data set #3&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::filterTheCollectionWithACallable with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::filterTheCollectionWithACallable with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::filterTheCollectionWithACallable with data set #2&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::filterTheCollectionWithACallable with data set #3&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::filterOutOddNumbers&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::getFirstValue with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::getFirstValue with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::getFirstValue with data set #2&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::getFirstValue with data set #3&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::getFirstValueByCallback&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::getLastValue with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::getLastValue with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::getLastValue with data set #2&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::getLastValue with data set #3&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::getLastValueByCallback&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::containsValue with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::containsValue with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::containsValue with data set #2&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::containsValue with data set #3&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::containsValueByCallback&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::pushAndPop&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::mergeTwoCollections&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::simpleSort with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::simpleSort with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::userSort with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::userSort with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::simpleSortTypedCollection with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::simpleSortTypedCollection with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::userSortTypedCollection with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::userSortTypedCollection with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::simpleSortTypedKeyCollection with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::simpleSortTypedKeyCollection with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::userSortTypedKeyCollection with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::userSortTypedKeyCollection with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::simpleAsort with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::simpleAsort with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::userAsort with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::userAsort with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::shuffle with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::shuffle with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::shuffleWithSeed with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::shuffleWithSeed with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::collectInto&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::failToCollectIntoANonCollectionType&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::failToCollectIntoANonExitingType&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::mapInto&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::mapIntoThrows&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::slice&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::collectionWillJsonSerialize with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::collectionWillJsonSerialize with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::collectionWillJsonSerialize with data set #2&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::collectionWillJsonSerialize with data set #3&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::collectionWillJsonSerialize with data set #4&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::checkForEmptyCollection&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::checkForNonEmptyCollection&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::keyStrategyNotSetWorksOnConstruction&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::keyStrategyNotSetWorksWithAppend&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::keyStrategyNotSetWorksWithOffsetSet&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::keyStrategySetWorksOnConstruction&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::keyStrategySetWorksOnAppend&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::keyStrategySetWorksOnOffsetSet&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::itImplodesStrings&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::itImplodesObjects&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\FunctionsTest::functions with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\FunctionsTest::functions with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\FunctionsTest::functions with data set #2&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\FunctionsTest::functions with data set #3&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\FunctionsTest::functions with data set #4&lt;/li&gt;&lt;/ul&gt;" data-placement="top" data-html="true" class="col-1 text-right"><a id="39" href="#39">39</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="keyword">foreach</span><span class="default">&nbsp;</span><span class="keyword">(</span><span class="default">$this</span><span class="default">-&gt;</span><span class="default">arrayItems</span><span class="keyword">(</span><span class="default">$items</span><span class="keyword">)</span><span class="default">&nbsp;</span><span class="keyword">as</span><span class="default">&nbsp;</span><span class="default">$key</span><span class="default">&nbsp;</span><span class="default">=&gt;</span><span class="default">&nbsp;</span><span class="default">$value</span><span class="keyword">)</span><span class="default">&nbsp;</span><span class="keyword">{</span></td></tr>
    <tr class="covered-by-large-tests popin d-flex"><td  data-title="107 tests cover line 40" data-content="&lt;ul&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::nonIterableTypeCollects&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::basicTypeAndCount with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::basicTypeAndCount with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::basicTypeAndCount with data set #2&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::basicTypeAndCount with data set #3&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::basicTypeAndCount with data set #4&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::appendByMethod with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::appendByMethod with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::appendByMethod with data set #2&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::appendByMethod with data set #3&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::appendByMethod with data set #4&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::appendLikeArray with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::appendLikeArray with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::appendLikeArray with data set #2&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::appendLikeArray with data set #3&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::appendLikeArray with data set #4&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollections with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollections with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollections with data set #2&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollections with data set #3&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollectionsWithIncorrectTypes with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollectionsWithIncorrectTypes with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollectionsWithIncorrectTypes with data set #2&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollectionsWithIncorrectTypes with data set #3&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollectionsWithIncorrectTypes with data set #4&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollectionsWithIncorrectTypes with data set #5&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollectionsWithIncorrectTypes with data set #6&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollectionsWithIncorrectTypes with data set #7&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollectionsWithIncorrectTypes with data set #8&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::checkMapOfCollectionData with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::checkMapOfCollectionData with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::checkMapOfCollectionData with data set #2&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::checkMapOfCollectionData with data set #3&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::checkEachEntryInTheCollection with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::checkEachEntryInTheCollection with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::checkEachEntryInTheCollection with data set #2&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::checkEachEntryInTheCollection with data set #3&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::reduceTheCollectionToAString with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::reduceTheCollectionToAString with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::reduceTheCollectionToAString with data set #2&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::reduceTheCollectionToAString with data set #3&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::filterTheCollection with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::filterTheCollection with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::filterTheCollection with data set #2&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::filterTheCollection with data set #3&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::filterTheCollectionWithACallable with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::filterTheCollectionWithACallable with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::filterTheCollectionWithACallable with data set #2&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::filterTheCollectionWithACallable with data set #3&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::filterOutOddNumbers&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::getFirstValue with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::getFirstValue with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::getFirstValue with data set #2&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::getFirstValue with data set #3&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::getFirstValueByCallback&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::getLastValue with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::getLastValue with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::getLastValue with data set #2&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::getLastValue with data set #3&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::getLastValueByCallback&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::containsValue with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::containsValue with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::containsValue with data set #2&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::containsValue with data set #3&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::containsValueByCallback&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::mergeTwoCollections&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::simpleSort with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::simpleSort with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::userSort with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::userSort with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::simpleSortTypedCollection with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::simpleSortTypedCollection with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::userSortTypedCollection with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::userSortTypedCollection with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::simpleSortTypedKeyCollection with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::simpleSortTypedKeyCollection with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::userSortTypedKeyCollection with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::userSortTypedKeyCollection with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::simpleAsort with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::simpleAsort with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::userAsort with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::userAsort with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::shuffle with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::shuffle with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::shuffleWithSeed with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::shuffleWithSeed with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::collectInto&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::failToCollectIntoANonCollectionType&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::failToCollectIntoANonExitingType&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::mapInto&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::mapIntoThrows&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::slice&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::collectionWillJsonSerialize with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::collectionWillJsonSerialize with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::collectionWillJsonSerialize with data set #2&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::collectionWillJsonSerialize with data set #3&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::collectionWillJsonSerialize with data set #4&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::checkForNonEmptyCollection&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::keyStrategyNotSetWorksOnConstruction&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::keyStrategySetWorksOnConstruction&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::itImplodesStrings&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::itImplodesObjects&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\FunctionsTest::functions with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\FunctionsTest::functions with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\FunctionsTest::functions with data set #2&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\FunctionsTest::functions with data set #3&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\FunctionsTest::functions with data set #4&lt;/li&gt;&lt;/ul&gt;" data-placement="top" data-html="true" class="col-1 text-right"><a id="40" href="#40">40</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="default">$this</span><span class="default">-&gt;</span><span class="default">offsetSet</span><span class="keyword">(</span><span class="default">$key</span><span class="keyword">,</span><span class="default">&nbsp;</span><span class="default">$value</span><span class="keyword">)</span><span class="keyword">;</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="41" href="#41">41</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="keyword">}</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="42" href="#42">42</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="keyword">}</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="43" href="#43">43</a></td><td class="col-11 codeLine"></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="44" href="#44">44</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="comment">/**</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="45" href="#45">45</a></td><td class="col-11 codeLine"><span class="comment">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*&nbsp;Prepare&nbsp;given&nbsp;items&nbsp;into&nbsp;array&nbsp;suitable&nbsp;for&nbsp;instantiation</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="46" href="#46">46</a></td><td class="col-11 codeLine"><span class="comment">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="47" href="#47">47</a></td><td class="col-11 codeLine"><span class="comment">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*&nbsp;@param&nbsp;mixed&nbsp;$items</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="48" href="#48">48</a></td><td class="col-11 codeLine"><span class="comment">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*&nbsp;@return&nbsp;array</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="49" href="#49">49</a></td><td class="col-11 codeLine"><span class="comment">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*/</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="50" href="#50">50</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="comment">//&nbsp;phpcs:ignore&nbsp;PSR12.Operators.OperatorSpacing.NoSpaceAfter,&nbsp;PSR12.Operators.OperatorSpacing.NoSpaceBefore&nbsp;--&nbsp;Broken&nbsp;until&nbsp;3.6.0</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="51" href="#51">51</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="keyword">private</span><span class="default">&nbsp;</span><span class="keyword">function</span><span class="default">&nbsp;</span><span class="default">arrayItems</span><span class="keyword">(</span><span class="default">mixed</span><span class="default">&nbsp;</span><span class="default">$items</span><span class="keyword">)</span><span class="keyword">:</span><span class="default">&nbsp;</span><span class="keyword">array</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="52" href="#52">52</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="keyword">{</span></td></tr>
    <tr class="covered-by-large-tests popin d-flex"><td  data-title="121 tests cover line 53" data-content="&lt;ul&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::nonIterableTypeCollects&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::basicTypeAndCount with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::basicTypeAndCount with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::basicTypeAndCount with data set #2&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::basicTypeAndCount with data set #3&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::basicTypeAndCount with data set #4&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::appendByMethod with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::appendByMethod with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::appendByMethod with data set #2&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::appendByMethod with data set #3&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::appendByMethod with data set #4&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::appendLikeArray with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::appendLikeArray with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::appendLikeArray with data set #2&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::appendLikeArray with data set #3&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::appendLikeArray with data set #4&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::offsetSetByMethod with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::offsetSetByMethod with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::offsetSetByMethod with data set #2&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::offsetSetByMethod with data set #3&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::offsetSetLikeArray with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::offsetSetLikeArray with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::offsetSetLikeArray with data set #2&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::offsetSetLikeArray with data set #3&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollections with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollections with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollections with data set #2&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollections with data set #3&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollectionsWithIncorrectTypes with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollectionsWithIncorrectTypes with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollectionsWithIncorrectTypes with data set #2&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollectionsWithIncorrectTypes with data set #3&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollectionsWithIncorrectTypes with data set #4&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollectionsWithIncorrectTypes with data set #5&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollectionsWithIncorrectTypes with data set #6&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollectionsWithIncorrectTypes with data set #7&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollectionsWithIncorrectTypes with data set #8&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::checkMapOfCollectionData with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::checkMapOfCollectionData with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::checkMapOfCollectionData with data set #2&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::checkMapOfCollectionData with data set #3&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::checkEachEntryInTheCollection with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::checkEachEntryInTheCollection with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::checkEachEntryInTheCollection with data set #2&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::checkEachEntryInTheCollection with data set #3&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::reduceTheCollectionToAString with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::reduceTheCollectionToAString with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::reduceTheCollectionToAString with data set #2&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::reduceTheCollectionToAString with data set #3&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::filterTheCollection with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::filterTheCollection with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::filterTheCollection with data set #2&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::filterTheCollection with data set #3&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::filterTheCollectionWithACallable with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::filterTheCollectionWithACallable with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::filterTheCollectionWithACallable with data set #2&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::filterTheCollectionWithACallable with data set #3&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::filterOutOddNumbers&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::getFirstValue with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::getFirstValue with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::getFirstValue with data set #2&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::getFirstValue with data set #3&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::getFirstValueByCallback&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::getLastValue with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::getLastValue with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::getLastValue with data set #2&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::getLastValue with data set #3&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::getLastValueByCallback&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::containsValue with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::containsValue with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::containsValue with data set #2&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::containsValue with data set #3&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::containsValueByCallback&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::pushAndPop&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::mergeTwoCollections&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::simpleSort with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::simpleSort with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::userSort with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::userSort with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::simpleSortTypedCollection with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::simpleSortTypedCollection with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::userSortTypedCollection with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::userSortTypedCollection with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::simpleSortTypedKeyCollection with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::simpleSortTypedKeyCollection with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::userSortTypedKeyCollection with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::userSortTypedKeyCollection with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::simpleAsort with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::simpleAsort with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::userAsort with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::userAsort with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::shuffle with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::shuffle with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::shuffleWithSeed with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::shuffleWithSeed with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::collectInto&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::failToCollectIntoANonCollectionType&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::failToCollectIntoANonExitingType&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::mapInto&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::mapIntoThrows&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::slice&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::collectionWillJsonSerialize with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::collectionWillJsonSerialize with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::collectionWillJsonSerialize with data set #2&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::collectionWillJsonSerialize with data set #3&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::collectionWillJsonSerialize with data set #4&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::checkForEmptyCollection&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::checkForNonEmptyCollection&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::keyStrategyNotSetWorksOnConstruction&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::keyStrategyNotSetWorksWithAppend&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::keyStrategyNotSetWorksWithOffsetSet&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::keyStrategySetWorksOnConstruction&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::keyStrategySetWorksOnAppend&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::keyStrategySetWorksOnOffsetSet&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::itImplodesStrings&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::itImplodesObjects&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\FunctionsTest::functions with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\FunctionsTest::functions with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\FunctionsTest::functions with data set #2&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\FunctionsTest::functions with data set #3&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\FunctionsTest::functions with data set #4&lt;/li&gt;&lt;/ul&gt;" data-placement="top" data-html="true" class="col-1 text-right"><a id="53" href="#53">53</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="keyword">if</span><span class="default">&nbsp;</span><span class="keyword">(</span><span class="default">is_array</span><span class="keyword">(</span><span class="default">$items</span><span class="keyword">)</span><span class="keyword">)</span><span class="default">&nbsp;</span><span class="keyword">{</span></td></tr>
    <tr class="covered-by-large-tests popin d-flex"><td  data-title="104 tests cover line 54" data-content="&lt;ul&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::basicTypeAndCount with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::basicTypeAndCount with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::basicTypeAndCount with data set #2&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::appendByMethod with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::appendByMethod with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::appendByMethod with data set #2&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::appendLikeArray with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::appendLikeArray with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::appendLikeArray with data set #2&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::offsetSetByMethod with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::offsetSetByMethod with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::offsetSetByMethod with data set #2&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::offsetSetByMethod with data set #3&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::offsetSetLikeArray with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::offsetSetLikeArray with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::offsetSetLikeArray with data set #2&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::offsetSetLikeArray with data set #3&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollections with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollections with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollections with data set #2&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollectionsWithIncorrectTypes with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollectionsWithIncorrectTypes with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollectionsWithIncorrectTypes with data set #2&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollectionsWithIncorrectTypes with data set #3&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollectionsWithIncorrectTypes with data set #4&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollectionsWithIncorrectTypes with data set #5&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollectionsWithIncorrectTypes with data set #6&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollectionsWithIncorrectTypes with data set #7&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollectionsWithIncorrectTypes with data set #8&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::checkMapOfCollectionData with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::checkMapOfCollectionData with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::checkMapOfCollectionData with data set #2&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::checkMapOfCollectionData with data set #3&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::checkEachEntryInTheCollection with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::checkEachEntryInTheCollection with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::checkEachEntryInTheCollection with data set #2&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::reduceTheCollectionToAString with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::reduceTheCollectionToAString with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::reduceTheCollectionToAString with data set #2&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::filterTheCollection with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::filterTheCollection with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::filterTheCollection with data set #2&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::filterTheCollection with data set #3&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::filterTheCollectionWithACallable with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::filterTheCollectionWithACallable with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::filterTheCollectionWithACallable with data set #2&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::filterTheCollectionWithACallable with data set #3&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::filterOutOddNumbers&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::getFirstValue with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::getFirstValue with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::getFirstValue with data set #2&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::getFirstValueByCallback&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::getLastValue with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::getLastValue with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::getLastValue with data set #2&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::getLastValueByCallback&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::containsValue with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::containsValue with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::containsValue with data set #2&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::containsValueByCallback&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::pushAndPop&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::mergeTwoCollections&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::simpleSort with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::simpleSort with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::userSort with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::userSort with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::simpleSortTypedCollection with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::simpleSortTypedCollection with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::userSortTypedCollection with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::userSortTypedCollection with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::simpleSortTypedKeyCollection with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::simpleSortTypedKeyCollection with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::userSortTypedKeyCollection with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::userSortTypedKeyCollection with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::simpleAsort with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::simpleAsort with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::userAsort with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::userAsort with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::shuffle with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::shuffle with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::shuffleWithSeed with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::shuffleWithSeed with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::collectInto&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::failToCollectIntoANonCollectionType&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::failToCollectIntoANonExitingType&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::mapInto&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::mapIntoThrows&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::slice&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::collectionWillJsonSerialize with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::collectionWillJsonSerialize with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::collectionWillJsonSerialize with data set #2&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::checkForEmptyCollection&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::checkForNonEmptyCollection&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::keyStrategyNotSetWorksOnConstruction&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::keyStrategyNotSetWorksWithAppend&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::keyStrategyNotSetWorksWithOffsetSet&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::keyStrategySetWorksOnConstruction&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::keyStrategySetWorksOnAppend&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::keyStrategySetWorksOnOffsetSet&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::itImplodesStrings&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::itImplodesObjects&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\FunctionsTest::functions with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\FunctionsTest::functions with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\FunctionsTest::functions with data set #2&lt;/li&gt;&lt;/ul&gt;" data-placement="top" data-html="true" class="col-1 text-right"><a id="54" href="#54">54</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="keyword">return</span><span class="default">&nbsp;</span><span class="default">$items</span><span class="keyword">;</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="55" href="#55">55</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="keyword">}</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="56" href="#56">56</a></td><td class="col-11 codeLine"></td></tr>
    <tr class="covered-by-large-tests popin d-flex"><td  data-title="20 tests cover line 57" data-content="&lt;ul&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::nonIterableTypeCollects&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::basicTypeAndCount with data set #3&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::basicTypeAndCount with data set #4&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::appendByMethod with data set #3&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::appendByMethod with data set #4&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::appendLikeArray with data set #3&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::appendLikeArray with data set #4&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollections with data set #3&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::checkMapOfCollectionData with data set #3&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::checkEachEntryInTheCollection with data set #3&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::reduceTheCollectionToAString with data set #3&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::filterTheCollection with data set #3&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::filterTheCollectionWithACallable with data set #3&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::getFirstValue with data set #3&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::getLastValue with data set #3&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::containsValue with data set #3&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::collectionWillJsonSerialize with data set #3&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::collectionWillJsonSerialize with data set #4&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\FunctionsTest::functions with data set #3&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\FunctionsTest::functions with data set #4&lt;/li&gt;&lt;/ul&gt;" data-placement="top" data-html="true" class="col-1 text-right"><a id="57" href="#57">57</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="keyword">if</span><span class="default">&nbsp;</span><span class="keyword">(</span><span class="default">$items</span><span class="default">&nbsp;</span><span class="keyword">instanceof</span><span class="default">&nbsp;</span><span class="default">self</span><span class="keyword">)</span><span class="default">&nbsp;</span><span class="keyword">{</span></td></tr>
    <tr class="covered-by-large-tests popin d-flex"><td  data-title="14 tests cover line 58" data-content="&lt;ul&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::basicTypeAndCount with data set #3&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::appendByMethod with data set #3&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::appendLikeArray with data set #3&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollections with data set #3&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::checkMapOfCollectionData with data set #3&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::checkEachEntryInTheCollection with data set #3&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::reduceTheCollectionToAString with data set #3&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::filterTheCollection with data set #3&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::filterTheCollectionWithACallable with data set #3&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::getFirstValue with data set #3&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::getLastValue with data set #3&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::containsValue with data set #3&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::collectionWillJsonSerialize with data set #3&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\FunctionsTest::functions with data set #3&lt;/li&gt;&lt;/ul&gt;" data-placement="top" data-html="true" class="col-1 text-right"><a id="58" href="#58">58</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="keyword">return</span><span class="default">&nbsp;</span><span class="default">$items</span><span class="default">-&gt;</span><span class="default">getArrayCopy</span><span class="keyword">(</span><span class="keyword">)</span><span class="keyword">;</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="59" href="#59">59</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="keyword">}</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="60" href="#60">60</a></td><td class="col-11 codeLine"></td></tr>
    <tr class="covered-by-large-tests popin d-flex"><td  data-title="6 tests cover line 61" data-content="&lt;ul&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::nonIterableTypeCollects&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::basicTypeAndCount with data set #4&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::appendByMethod with data set #4&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::appendLikeArray with data set #4&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::collectionWillJsonSerialize with data set #4&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\FunctionsTest::functions with data set #4&lt;/li&gt;&lt;/ul&gt;" data-placement="top" data-html="true" class="col-1 text-right"><a id="61" href="#61">61</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="keyword">if</span><span class="default">&nbsp;</span><span class="keyword">(</span><span class="default">$items</span><span class="default">&nbsp;</span><span class="keyword">instanceof</span><span class="default">&nbsp;</span><span class="default">JsonSerializable</span><span class="keyword">)</span><span class="default">&nbsp;</span><span class="keyword">{</span></td></tr>
    <tr class="covered-by-large-tests popin d-flex"><td  data-title="5 tests cover line 62" data-content="&lt;ul&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::basicTypeAndCount with data set #4&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::appendByMethod with data set #4&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::appendLikeArray with data set #4&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::collectionWillJsonSerialize with data set #4&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\FunctionsTest::functions with data set #4&lt;/li&gt;&lt;/ul&gt;" data-placement="top" data-html="true" class="col-1 text-right"><a id="62" href="#62">62</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="keyword">return</span><span class="default">&nbsp;</span><span class="default">$items</span><span class="default">-&gt;</span><span class="default">jsonSerialize</span><span class="keyword">(</span><span class="keyword">)</span><span class="keyword">;</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="63" href="#63">63</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="keyword">}</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="64" href="#64">64</a></td><td class="col-11 codeLine"></td></tr>
    <tr class="covered-by-large-tests popin d-flex"><td  data-title="1 test covers line 65" data-content="&lt;ul&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::nonIterableTypeCollects&lt;/li&gt;&lt;/ul&gt;" data-placement="top" data-html="true" class="col-1 text-right"><a id="65" href="#65">65</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="keyword">return</span><span class="default">&nbsp;</span><span class="default">(array)</span><span class="default">$items</span><span class="keyword">;</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="66" href="#66">66</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="keyword">}</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="67" href="#67">67</a></td><td class="col-11 codeLine"></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="68" href="#68">68</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="comment">/**</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="69" href="#69">69</a></td><td class="col-11 codeLine"><span class="comment">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*&nbsp;Collection&nbsp;Key&nbsp;Strategy</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="70" href="#70">70</a></td><td class="col-11 codeLine"><span class="comment">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="71" href="#71">71</a></td><td class="col-11 codeLine"><span class="comment">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*&nbsp;Override&nbsp;this&nbsp;method&nbsp;in&nbsp;your&nbsp;own&nbsp;class&nbsp;to&nbsp;have&nbsp;your&nbsp;collection&nbsp;keys&nbsp;automatically&nbsp;set&nbsp;to&nbsp;your&nbsp;preference.&nbsp;For</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="72" href="#72">72</a></td><td class="col-11 codeLine"><span class="comment">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*&nbsp;example:</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="73" href="#73">73</a></td><td class="col-11 codeLine"><span class="comment">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*&nbsp;```php</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="74" href="#74">74</a></td><td class="col-11 codeLine"><span class="comment">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*&nbsp;protected&nbsp;function&nbsp;keyStrategy($value)</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="75" href="#75">75</a></td><td class="col-11 codeLine"><span class="comment">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*&nbsp;{</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="76" href="#76">76</a></td><td class="col-11 codeLine"><span class="comment">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;return&nbsp;$value-&gt;id();</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="77" href="#77">77</a></td><td class="col-11 codeLine"><span class="comment">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*&nbsp;}</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="78" href="#78">78</a></td><td class="col-11 codeLine"><span class="comment">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*&nbsp;```</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="79" href="#79">79</a></td><td class="col-11 codeLine"><span class="comment">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="80" href="#80">80</a></td><td class="col-11 codeLine"><span class="comment">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*&nbsp;@param&nbsp;mixed&nbsp;$value</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="81" href="#81">81</a></td><td class="col-11 codeLine"><span class="comment">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*&nbsp;@return&nbsp;mixed</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="82" href="#82">82</a></td><td class="col-11 codeLine"><span class="comment">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*/</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="83" href="#83">83</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="keyword">protected</span><span class="default">&nbsp;</span><span class="keyword">function</span><span class="default">&nbsp;</span><span class="default">keyStrategy</span><span class="keyword">(</span><span class="default">mixed</span><span class="default">&nbsp;</span><span class="default">$value</span><span class="keyword">)</span><span class="keyword">:</span><span class="default">&nbsp;</span><span class="default">mixed</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="84" href="#84">84</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="keyword">{</span></td></tr>
    <tr class="covered-by-large-tests popin d-flex"><td  data-title="117 tests cover line 85" data-content="&lt;ul&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::nonIterableTypeCollects&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::basicTypeAndCount with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::basicTypeAndCount with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::basicTypeAndCount with data set #2&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::basicTypeAndCount with data set #3&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::basicTypeAndCount with data set #4&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::appendByMethod with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::appendByMethod with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::appendByMethod with data set #2&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::appendByMethod with data set #3&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::appendByMethod with data set #4&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::appendLikeArray with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::appendLikeArray with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::appendLikeArray with data set #2&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::appendLikeArray with data set #3&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::appendLikeArray with data set #4&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::offsetSetByMethod with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::offsetSetByMethod with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::offsetSetByMethod with data set #2&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::offsetSetByMethod with data set #3&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::offsetSetLikeArray with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::offsetSetLikeArray with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::offsetSetLikeArray with data set #2&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::offsetSetLikeArray with data set #3&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollections with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollections with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollections with data set #2&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollections with data set #3&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollectionsWithIncorrectTypes with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollectionsWithIncorrectTypes with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollectionsWithIncorrectTypes with data set #2&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollectionsWithIncorrectTypes with data set #3&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollectionsWithIncorrectTypes with data set #4&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollectionsWithIncorrectTypes with data set #5&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollectionsWithIncorrectTypes with data set #6&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollectionsWithIncorrectTypes with data set #7&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollectionsWithIncorrectTypes with data set #8&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::checkMapOfCollectionData with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::checkMapOfCollectionData with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::checkMapOfCollectionData with data set #2&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::checkMapOfCollectionData with data set #3&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::checkEachEntryInTheCollection with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::checkEachEntryInTheCollection with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::checkEachEntryInTheCollection with data set #2&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::checkEachEntryInTheCollection with data set #3&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::reduceTheCollectionToAString with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::reduceTheCollectionToAString with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::reduceTheCollectionToAString with data set #2&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::reduceTheCollectionToAString with data set #3&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::filterTheCollection with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::filterTheCollection with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::filterTheCollection with data set #2&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::filterTheCollection with data set #3&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::filterTheCollectionWithACallable with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::filterTheCollectionWithACallable with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::filterTheCollectionWithACallable with data set #2&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::filterTheCollectionWithACallable with data set #3&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::filterOutOddNumbers&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::getFirstValue with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::getFirstValue with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::getFirstValue with data set #2&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::getFirstValue with data set #3&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::getFirstValueByCallback&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::getLastValue with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::getLastValue with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::getLastValue with data set #2&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::getLastValue with data set #3&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::getLastValueByCallback&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::containsValue with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::containsValue with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::containsValue with data set #2&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::containsValue with data set #3&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::containsValueByCallback&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::pushAndPop&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::mergeTwoCollections&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::simpleSort with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::simpleSort with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::userSort with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::userSort with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::simpleSortTypedCollection with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::simpleSortTypedCollection with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::userSortTypedCollection with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::userSortTypedCollection with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::simpleSortTypedKeyCollection with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::simpleSortTypedKeyCollection with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::userSortTypedKeyCollection with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::userSortTypedKeyCollection with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::simpleAsort with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::simpleAsort with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::userAsort with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::userAsort with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::shuffle with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::shuffle with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::shuffleWithSeed with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::shuffleWithSeed with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::collectInto&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::failToCollectIntoANonCollectionType&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::failToCollectIntoANonExitingType&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::mapInto&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::mapIntoThrows&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::slice&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::collectionWillJsonSerialize with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::collectionWillJsonSerialize with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::collectionWillJsonSerialize with data set #2&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::collectionWillJsonSerialize with data set #3&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::collectionWillJsonSerialize with data set #4&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::checkForNonEmptyCollection&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::keyStrategyNotSetWorksOnConstruction&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::keyStrategyNotSetWorksWithAppend&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::keyStrategyNotSetWorksWithOffsetSet&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::itImplodesStrings&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::itImplodesObjects&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\FunctionsTest::functions with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\FunctionsTest::functions with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\FunctionsTest::functions with data set #2&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\FunctionsTest::functions with data set #3&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\FunctionsTest::functions with data set #4&lt;/li&gt;&lt;/ul&gt;" data-placement="top" data-html="true" class="col-1 text-right"><a id="85" href="#85">85</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="keyword">return</span><span class="default">&nbsp;</span><span class="default">null</span><span class="keyword">;</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="86" href="#86">86</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="keyword">}</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="87" href="#87">87</a></td><td class="col-11 codeLine"></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="88" href="#88">88</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="comment">/**</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="89" href="#89">89</a></td><td class="col-11 codeLine"><span class="comment">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*&nbsp;Append&nbsp;Value</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="90" href="#90">90</a></td><td class="col-11 codeLine"><span class="comment">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="91" href="#91">91</a></td><td class="col-11 codeLine"><span class="comment">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*&nbsp;&lt;strong&gt;IMPORTANT:&lt;/strong&gt;&nbsp;You&nbsp;cannot&nbsp;append&nbsp;if&nbsp;you&nbsp;are&nbsp;using&nbsp;typed&nbsp;keys&nbsp;unless&nbsp;you&nbsp;also&nbsp;implement&nbsp;an</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="92" href="#92">92</a></td><td class="col-11 codeLine"><span class="comment">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*&nbsp;appropriate&nbsp;keyStrategy&nbsp;method.&nbsp;If&nbsp;not,&nbsp;then&nbsp;you&nbsp;MUST&nbsp;specify&nbsp;an&nbsp;appropriate&nbsp;offset,&nbsp;either&nbsp;via&nbsp;offsetSet()&nbsp;or&nbsp;as</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="93" href="#93">93</a></td><td class="col-11 codeLine"><span class="comment">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*&nbsp;$collection[$offset]&nbsp;=&nbsp;$value;</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="94" href="#94">94</a></td><td class="col-11 codeLine"><span class="comment">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="95" href="#95">95</a></td><td class="col-11 codeLine"><span class="comment">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*&nbsp;@param&nbsp;mixed&nbsp;$value</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="96" href="#96">96</a></td><td class="col-11 codeLine"><span class="comment">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*/</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="97" href="#97">97</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="keyword">public</span><span class="default">&nbsp;</span><span class="keyword">function</span><span class="default">&nbsp;</span><span class="default">append</span><span class="keyword">(</span><span class="default">mixed</span><span class="default">&nbsp;</span><span class="default">$value</span><span class="keyword">)</span><span class="keyword">:</span><span class="default">&nbsp;</span><span class="default">void</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="98" href="#98">98</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="keyword">{</span></td></tr>
    <tr class="covered-by-large-tests popin d-flex"><td  data-title="9 tests cover line 99" data-content="&lt;ul&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::appendByMethod with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::appendByMethod with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::appendByMethod with data set #2&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::appendByMethod with data set #3&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::appendByMethod with data set #4&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::pushAndPop&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::mergeTwoCollections&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::keyStrategyNotSetWorksWithAppend&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::keyStrategySetWorksOnAppend&lt;/li&gt;&lt;/ul&gt;" data-placement="top" data-html="true" class="col-1 text-right"><a id="99" href="#99">99</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="default">$key</span><span class="default">&nbsp;</span><span class="keyword">=</span><span class="default">&nbsp;</span><span class="default">$this</span><span class="default">-&gt;</span><span class="default">keyStrategy</span><span class="keyword">(</span><span class="default">$value</span><span class="keyword">)</span><span class="keyword">;</span></td></tr>
    <tr class="covered-by-large-tests popin d-flex"><td  data-title="9 tests cover line 100" data-content="&lt;ul&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::appendByMethod with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::appendByMethod with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::appendByMethod with data set #2&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::appendByMethod with data set #3&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::appendByMethod with data set #4&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::pushAndPop&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::mergeTwoCollections&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::keyStrategyNotSetWorksWithAppend&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::keyStrategySetWorksOnAppend&lt;/li&gt;&lt;/ul&gt;" data-placement="top" data-html="true" class="col-1 text-right"><a id="100" href="#100">100</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="keyword">if</span><span class="default">&nbsp;</span><span class="keyword">(</span><span class="default">$key</span><span class="default">&nbsp;</span><span class="default">!==</span><span class="default">&nbsp;</span><span class="default">null</span><span class="keyword">)</span><span class="default">&nbsp;</span><span class="keyword">{</span></td></tr>
    <tr class="covered-by-large-tests popin d-flex"><td  data-title="1 test covers line 101" data-content="&lt;ul&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::keyStrategySetWorksOnAppend&lt;/li&gt;&lt;/ul&gt;" data-placement="top" data-html="true" class="col-1 text-right"><a id="101" href="#101">101</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="default">$this</span><span class="default">-&gt;</span><span class="default">offsetSet</span><span class="keyword">(</span><span class="default">$key</span><span class="keyword">,</span><span class="default">&nbsp;</span><span class="default">$value</span><span class="keyword">)</span><span class="keyword">;</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="102" href="#102">102</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="keyword">}</span><span class="default">&nbsp;</span><span class="keyword">else</span><span class="default">&nbsp;</span><span class="keyword">{</span></td></tr>
    <tr class="covered-by-large-tests popin d-flex"><td  data-title="8 tests cover line 103" data-content="&lt;ul&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::appendByMethod with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::appendByMethod with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::appendByMethod with data set #2&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::appendByMethod with data set #3&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::appendByMethod with data set #4&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::pushAndPop&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::mergeTwoCollections&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::keyStrategyNotSetWorksWithAppend&lt;/li&gt;&lt;/ul&gt;" data-placement="top" data-html="true" class="col-1 text-right"><a id="103" href="#103">103</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="default">parent</span><span class="default">::</span><span class="default">append</span><span class="keyword">(</span><span class="default">$this</span><span class="default">-&gt;</span><span class="default">checkType</span><span class="keyword">(</span><span class="default">$value</span><span class="keyword">,</span><span class="default">&nbsp;</span><span class="default">$this</span><span class="default">-&gt;</span><span class="default">valueType</span><span class="keyword">)</span><span class="keyword">)</span><span class="keyword">;</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="104" href="#104">104</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="keyword">}</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="105" href="#105">105</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="keyword">}</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="106" href="#106">106</a></td><td class="col-11 codeLine"></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="107" href="#107">107</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="comment">/**</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="108" href="#108">108</a></td><td class="col-11 codeLine"><span class="comment">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*&nbsp;@param&nbsp;mixed&nbsp;$key</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="109" href="#109">109</a></td><td class="col-11 codeLine"><span class="comment">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*&nbsp;@param&nbsp;mixed&nbsp;$value</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="110" href="#110">110</a></td><td class="col-11 codeLine"><span class="comment">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*/</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="111" href="#111">111</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="keyword">public</span><span class="default">&nbsp;</span><span class="keyword">function</span><span class="default">&nbsp;</span><span class="default">offsetSet</span><span class="keyword">(</span><span class="default">mixed</span><span class="default">&nbsp;</span><span class="default">$key</span><span class="keyword">,</span><span class="default">&nbsp;</span><span class="default">mixed</span><span class="default">&nbsp;</span><span class="default">$value</span><span class="keyword">)</span><span class="keyword">:</span><span class="default">&nbsp;</span><span class="default">void</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="112" href="#112">112</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="keyword">{</span></td></tr>
    <tr class="covered-by-large-tests popin d-flex"><td  data-title="120 tests cover line 113" data-content="&lt;ul&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::nonIterableTypeCollects&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::basicTypeAndCount with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::basicTypeAndCount with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::basicTypeAndCount with data set #2&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::basicTypeAndCount with data set #3&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::basicTypeAndCount with data set #4&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::appendByMethod with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::appendByMethod with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::appendByMethod with data set #2&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::appendByMethod with data set #3&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::appendByMethod with data set #4&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::appendLikeArray with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::appendLikeArray with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::appendLikeArray with data set #2&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::appendLikeArray with data set #3&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::appendLikeArray with data set #4&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::offsetSetByMethod with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::offsetSetByMethod with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::offsetSetByMethod with data set #2&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::offsetSetByMethod with data set #3&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::offsetSetLikeArray with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::offsetSetLikeArray with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::offsetSetLikeArray with data set #2&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::offsetSetLikeArray with data set #3&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollections with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollections with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollections with data set #2&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollections with data set #3&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollectionsWithIncorrectTypes with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollectionsWithIncorrectTypes with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollectionsWithIncorrectTypes with data set #2&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollectionsWithIncorrectTypes with data set #3&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollectionsWithIncorrectTypes with data set #4&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollectionsWithIncorrectTypes with data set #5&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollectionsWithIncorrectTypes with data set #6&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollectionsWithIncorrectTypes with data set #7&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollectionsWithIncorrectTypes with data set #8&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::checkMapOfCollectionData with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::checkMapOfCollectionData with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::checkMapOfCollectionData with data set #2&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::checkMapOfCollectionData with data set #3&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::checkEachEntryInTheCollection with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::checkEachEntryInTheCollection with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::checkEachEntryInTheCollection with data set #2&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::checkEachEntryInTheCollection with data set #3&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::reduceTheCollectionToAString with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::reduceTheCollectionToAString with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::reduceTheCollectionToAString with data set #2&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::reduceTheCollectionToAString with data set #3&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::filterTheCollection with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::filterTheCollection with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::filterTheCollection with data set #2&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::filterTheCollection with data set #3&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::filterTheCollectionWithACallable with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::filterTheCollectionWithACallable with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::filterTheCollectionWithACallable with data set #2&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::filterTheCollectionWithACallable with data set #3&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::filterOutOddNumbers&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::getFirstValue with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::getFirstValue with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::getFirstValue with data set #2&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::getFirstValue with data set #3&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::getFirstValueByCallback&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::getLastValue with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::getLastValue with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::getLastValue with data set #2&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::getLastValue with data set #3&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::getLastValueByCallback&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::containsValue with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::containsValue with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::containsValue with data set #2&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::containsValue with data set #3&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::containsValueByCallback&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::pushAndPop&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::mergeTwoCollections&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::simpleSort with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::simpleSort with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::userSort with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::userSort with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::simpleSortTypedCollection with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::simpleSortTypedCollection with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::userSortTypedCollection with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::userSortTypedCollection with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::simpleSortTypedKeyCollection with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::simpleSortTypedKeyCollection with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::userSortTypedKeyCollection with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::userSortTypedKeyCollection with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::simpleAsort with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::simpleAsort with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::userAsort with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::userAsort with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::shuffle with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::shuffle with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::shuffleWithSeed with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::shuffleWithSeed with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::collectInto&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::failToCollectIntoANonCollectionType&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::failToCollectIntoANonExitingType&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::mapInto&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::mapIntoThrows&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::slice&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::collectionWillJsonSerialize with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::collectionWillJsonSerialize with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::collectionWillJsonSerialize with data set #2&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::collectionWillJsonSerialize with data set #3&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::collectionWillJsonSerialize with data set #4&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::checkForNonEmptyCollection&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::keyStrategyNotSetWorksOnConstruction&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::keyStrategyNotSetWorksWithAppend&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::keyStrategyNotSetWorksWithOffsetSet&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::keyStrategySetWorksOnConstruction&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::keyStrategySetWorksOnAppend&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::keyStrategySetWorksOnOffsetSet&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::itImplodesStrings&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::itImplodesObjects&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\FunctionsTest::functions with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\FunctionsTest::functions with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\FunctionsTest::functions with data set #2&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\FunctionsTest::functions with data set #3&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\FunctionsTest::functions with data set #4&lt;/li&gt;&lt;/ul&gt;" data-placement="top" data-html="true" class="col-1 text-right"><a id="113" href="#113">113</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="default">$newKey</span><span class="default">&nbsp;</span><span class="keyword">=</span><span class="default">&nbsp;</span><span class="default">$this</span><span class="default">-&gt;</span><span class="default">keyStrategy</span><span class="keyword">(</span><span class="default">$value</span><span class="keyword">)</span><span class="keyword">;</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="114" href="#114">114</a></td><td class="col-11 codeLine"></td></tr>
    <tr class="covered-by-large-tests popin d-flex"><td  data-title="120 tests cover line 115" data-content="&lt;ul&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::nonIterableTypeCollects&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::basicTypeAndCount with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::basicTypeAndCount with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::basicTypeAndCount with data set #2&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::basicTypeAndCount with data set #3&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::basicTypeAndCount with data set #4&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::appendByMethod with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::appendByMethod with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::appendByMethod with data set #2&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::appendByMethod with data set #3&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::appendByMethod with data set #4&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::appendLikeArray with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::appendLikeArray with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::appendLikeArray with data set #2&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::appendLikeArray with data set #3&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::appendLikeArray with data set #4&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::offsetSetByMethod with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::offsetSetByMethod with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::offsetSetByMethod with data set #2&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::offsetSetByMethod with data set #3&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::offsetSetLikeArray with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::offsetSetLikeArray with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::offsetSetLikeArray with data set #2&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::offsetSetLikeArray with data set #3&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollections with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollections with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollections with data set #2&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollections with data set #3&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollectionsWithIncorrectTypes with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollectionsWithIncorrectTypes with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollectionsWithIncorrectTypes with data set #2&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollectionsWithIncorrectTypes with data set #3&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollectionsWithIncorrectTypes with data set #4&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollectionsWithIncorrectTypes with data set #5&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollectionsWithIncorrectTypes with data set #6&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollectionsWithIncorrectTypes with data set #7&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollectionsWithIncorrectTypes with data set #8&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::checkMapOfCollectionData with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::checkMapOfCollectionData with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::checkMapOfCollectionData with data set #2&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::checkMapOfCollectionData with data set #3&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::checkEachEntryInTheCollection with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::checkEachEntryInTheCollection with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::checkEachEntryInTheCollection with data set #2&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::checkEachEntryInTheCollection with data set #3&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::reduceTheCollectionToAString with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::reduceTheCollectionToAString with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::reduceTheCollectionToAString with data set #2&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::reduceTheCollectionToAString with data set #3&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::filterTheCollection with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::filterTheCollection with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::filterTheCollection with data set #2&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::filterTheCollection with data set #3&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::filterTheCollectionWithACallable with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::filterTheCollectionWithACallable with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::filterTheCollectionWithACallable with data set #2&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::filterTheCollectionWithACallable with data set #3&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::filterOutOddNumbers&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::getFirstValue with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::getFirstValue with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::getFirstValue with data set #2&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::getFirstValue with data set #3&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::getFirstValueByCallback&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::getLastValue with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::getLastValue with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::getLastValue with data set #2&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::getLastValue with data set #3&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::getLastValueByCallback&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::containsValue with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::containsValue with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::containsValue with data set #2&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::containsValue with data set #3&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::containsValueByCallback&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::pushAndPop&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::mergeTwoCollections&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::simpleSort with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::simpleSort with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::userSort with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::userSort with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::simpleSortTypedCollection with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::simpleSortTypedCollection with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::userSortTypedCollection with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::userSortTypedCollection with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::simpleSortTypedKeyCollection with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::simpleSortTypedKeyCollection with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::userSortTypedKeyCollection with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::userSortTypedKeyCollection with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::simpleAsort with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::simpleAsort with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::userAsort with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::userAsort with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::shuffle with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::shuffle with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::shuffleWithSeed with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::shuffleWithSeed with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::collectInto&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::failToCollectIntoANonCollectionType&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::failToCollectIntoANonExitingType&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::mapInto&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::mapIntoThrows&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::slice&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::collectionWillJsonSerialize with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::collectionWillJsonSerialize with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::collectionWillJsonSerialize with data set #2&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::collectionWillJsonSerialize with data set #3&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::collectionWillJsonSerialize with data set #4&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::checkForNonEmptyCollection&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::keyStrategyNotSetWorksOnConstruction&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::keyStrategyNotSetWorksWithAppend&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::keyStrategyNotSetWorksWithOffsetSet&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::keyStrategySetWorksOnConstruction&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::keyStrategySetWorksOnAppend&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::keyStrategySetWorksOnOffsetSet&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::itImplodesStrings&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::itImplodesObjects&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\FunctionsTest::functions with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\FunctionsTest::functions with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\FunctionsTest::functions with data set #2&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\FunctionsTest::functions with data set #3&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\FunctionsTest::functions with data set #4&lt;/li&gt;&lt;/ul&gt;" data-placement="top" data-html="true" class="col-1 text-right"><a id="115" href="#115">115</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="keyword">if</span><span class="default">&nbsp;</span><span class="keyword">(</span><span class="default">$newKey</span><span class="default">&nbsp;</span><span class="default">!==</span><span class="default">&nbsp;</span><span class="default">null</span><span class="keyword">)</span><span class="default">&nbsp;</span><span class="keyword">{</span></td></tr>
    <tr class="covered-by-large-tests popin d-flex"><td  data-title="3 tests cover line 116" data-content="&lt;ul&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::keyStrategySetWorksOnConstruction&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::keyStrategySetWorksOnAppend&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::keyStrategySetWorksOnOffsetSet&lt;/li&gt;&lt;/ul&gt;" data-placement="top" data-html="true" class="col-1 text-right"><a id="116" href="#116">116</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="default">$key</span><span class="default">&nbsp;</span><span class="keyword">=</span><span class="default">&nbsp;</span><span class="default">$newKey</span><span class="keyword">;</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="117" href="#117">117</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="keyword">}</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="118" href="#118">118</a></td><td class="col-11 codeLine"></td></tr>
    <tr class="covered-by-large-tests popin d-flex"><td  data-title="120 tests cover line 119" data-content="&lt;ul&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::nonIterableTypeCollects&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::basicTypeAndCount with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::basicTypeAndCount with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::basicTypeAndCount with data set #2&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::basicTypeAndCount with data set #3&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::basicTypeAndCount with data set #4&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::appendByMethod with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::appendByMethod with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::appendByMethod with data set #2&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::appendByMethod with data set #3&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::appendByMethod with data set #4&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::appendLikeArray with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::appendLikeArray with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::appendLikeArray with data set #2&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::appendLikeArray with data set #3&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::appendLikeArray with data set #4&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::offsetSetByMethod with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::offsetSetByMethod with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::offsetSetByMethod with data set #2&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::offsetSetByMethod with data set #3&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::offsetSetLikeArray with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::offsetSetLikeArray with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::offsetSetLikeArray with data set #2&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::offsetSetLikeArray with data set #3&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollections with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollections with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollections with data set #2&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollections with data set #3&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollectionsWithIncorrectTypes with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollectionsWithIncorrectTypes with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollectionsWithIncorrectTypes with data set #2&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollectionsWithIncorrectTypes with data set #3&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollectionsWithIncorrectTypes with data set #4&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollectionsWithIncorrectTypes with data set #5&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollectionsWithIncorrectTypes with data set #6&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollectionsWithIncorrectTypes with data set #7&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollectionsWithIncorrectTypes with data set #8&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::checkMapOfCollectionData with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::checkMapOfCollectionData with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::checkMapOfCollectionData with data set #2&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::checkMapOfCollectionData with data set #3&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::checkEachEntryInTheCollection with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::checkEachEntryInTheCollection with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::checkEachEntryInTheCollection with data set #2&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::checkEachEntryInTheCollection with data set #3&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::reduceTheCollectionToAString with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::reduceTheCollectionToAString with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::reduceTheCollectionToAString with data set #2&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::reduceTheCollectionToAString with data set #3&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::filterTheCollection with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::filterTheCollection with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::filterTheCollection with data set #2&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::filterTheCollection with data set #3&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::filterTheCollectionWithACallable with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::filterTheCollectionWithACallable with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::filterTheCollectionWithACallable with data set #2&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::filterTheCollectionWithACallable with data set #3&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::filterOutOddNumbers&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::getFirstValue with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::getFirstValue with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::getFirstValue with data set #2&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::getFirstValue with data set #3&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::getFirstValueByCallback&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::getLastValue with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::getLastValue with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::getLastValue with data set #2&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::getLastValue with data set #3&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::getLastValueByCallback&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::containsValue with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::containsValue with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::containsValue with data set #2&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::containsValue with data set #3&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::containsValueByCallback&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::pushAndPop&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::mergeTwoCollections&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::simpleSort with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::simpleSort with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::userSort with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::userSort with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::simpleSortTypedCollection with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::simpleSortTypedCollection with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::userSortTypedCollection with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::userSortTypedCollection with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::simpleSortTypedKeyCollection with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::simpleSortTypedKeyCollection with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::userSortTypedKeyCollection with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::userSortTypedKeyCollection with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::simpleAsort with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::simpleAsort with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::userAsort with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::userAsort with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::shuffle with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::shuffle with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::shuffleWithSeed with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::shuffleWithSeed with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::collectInto&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::failToCollectIntoANonCollectionType&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::failToCollectIntoANonExitingType&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::mapInto&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::mapIntoThrows&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::slice&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::collectionWillJsonSerialize with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::collectionWillJsonSerialize with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::collectionWillJsonSerialize with data set #2&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::collectionWillJsonSerialize with data set #3&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::collectionWillJsonSerialize with data set #4&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::checkForNonEmptyCollection&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::keyStrategyNotSetWorksOnConstruction&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::keyStrategyNotSetWorksWithAppend&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::keyStrategyNotSetWorksWithOffsetSet&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::keyStrategySetWorksOnConstruction&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::keyStrategySetWorksOnAppend&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::keyStrategySetWorksOnOffsetSet&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::itImplodesStrings&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::itImplodesObjects&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\FunctionsTest::functions with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\FunctionsTest::functions with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\FunctionsTest::functions with data set #2&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\FunctionsTest::functions with data set #3&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\FunctionsTest::functions with data set #4&lt;/li&gt;&lt;/ul&gt;" data-placement="top" data-html="true" class="col-1 text-right"><a id="119" href="#119">119</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="default">parent</span><span class="default">::</span><span class="default">offsetSet</span><span class="keyword">(</span></td></tr>
    <tr class="covered-by-large-tests popin d-flex"><td  data-title="120 tests cover line 120" data-content="&lt;ul&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::nonIterableTypeCollects&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::basicTypeAndCount with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::basicTypeAndCount with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::basicTypeAndCount with data set #2&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::basicTypeAndCount with data set #3&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::basicTypeAndCount with data set #4&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::appendByMethod with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::appendByMethod with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::appendByMethod with data set #2&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::appendByMethod with data set #3&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::appendByMethod with data set #4&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::appendLikeArray with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::appendLikeArray with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::appendLikeArray with data set #2&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::appendLikeArray with data set #3&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::appendLikeArray with data set #4&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::offsetSetByMethod with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::offsetSetByMethod with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::offsetSetByMethod with data set #2&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::offsetSetByMethod with data set #3&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::offsetSetLikeArray with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::offsetSetLikeArray with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::offsetSetLikeArray with data set #2&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::offsetSetLikeArray with data set #3&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollections with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollections with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollections with data set #2&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollections with data set #3&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollectionsWithIncorrectTypes with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollectionsWithIncorrectTypes with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollectionsWithIncorrectTypes with data set #2&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollectionsWithIncorrectTypes with data set #3&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollectionsWithIncorrectTypes with data set #4&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollectionsWithIncorrectTypes with data set #5&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollectionsWithIncorrectTypes with data set #6&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollectionsWithIncorrectTypes with data set #7&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollectionsWithIncorrectTypes with data set #8&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::checkMapOfCollectionData with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::checkMapOfCollectionData with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::checkMapOfCollectionData with data set #2&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::checkMapOfCollectionData with data set #3&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::checkEachEntryInTheCollection with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::checkEachEntryInTheCollection with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::checkEachEntryInTheCollection with data set #2&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::checkEachEntryInTheCollection with data set #3&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::reduceTheCollectionToAString with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::reduceTheCollectionToAString with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::reduceTheCollectionToAString with data set #2&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::reduceTheCollectionToAString with data set #3&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::filterTheCollection with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::filterTheCollection with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::filterTheCollection with data set #2&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::filterTheCollection with data set #3&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::filterTheCollectionWithACallable with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::filterTheCollectionWithACallable with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::filterTheCollectionWithACallable with data set #2&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::filterTheCollectionWithACallable with data set #3&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::filterOutOddNumbers&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::getFirstValue with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::getFirstValue with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::getFirstValue with data set #2&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::getFirstValue with data set #3&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::getFirstValueByCallback&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::getLastValue with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::getLastValue with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::getLastValue with data set #2&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::getLastValue with data set #3&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::getLastValueByCallback&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::containsValue with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::containsValue with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::containsValue with data set #2&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::containsValue with data set #3&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::containsValueByCallback&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::pushAndPop&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::mergeTwoCollections&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::simpleSort with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::simpleSort with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::userSort with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::userSort with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::simpleSortTypedCollection with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::simpleSortTypedCollection with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::userSortTypedCollection with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::userSortTypedCollection with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::simpleSortTypedKeyCollection with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::simpleSortTypedKeyCollection with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::userSortTypedKeyCollection with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::userSortTypedKeyCollection with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::simpleAsort with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::simpleAsort with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::userAsort with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::userAsort with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::shuffle with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::shuffle with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::shuffleWithSeed with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::shuffleWithSeed with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::collectInto&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::failToCollectIntoANonCollectionType&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::failToCollectIntoANonExitingType&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::mapInto&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::mapIntoThrows&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::slice&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::collectionWillJsonSerialize with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::collectionWillJsonSerialize with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::collectionWillJsonSerialize with data set #2&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::collectionWillJsonSerialize with data set #3&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::collectionWillJsonSerialize with data set #4&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::checkForNonEmptyCollection&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::keyStrategyNotSetWorksOnConstruction&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::keyStrategyNotSetWorksWithAppend&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::keyStrategyNotSetWorksWithOffsetSet&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::keyStrategySetWorksOnConstruction&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::keyStrategySetWorksOnAppend&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::keyStrategySetWorksOnOffsetSet&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::itImplodesStrings&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::itImplodesObjects&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\FunctionsTest::functions with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\FunctionsTest::functions with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\FunctionsTest::functions with data set #2&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\FunctionsTest::functions with data set #3&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\FunctionsTest::functions with data set #4&lt;/li&gt;&lt;/ul&gt;" data-placement="top" data-html="true" class="col-1 text-right"><a id="120" href="#120">120</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="default">$this</span><span class="default">-&gt;</span><span class="default">checkType</span><span class="keyword">(</span><span class="default">$key</span><span class="keyword">,</span><span class="default">&nbsp;</span><span class="default">$this</span><span class="default">-&gt;</span><span class="default">keyType</span><span class="keyword">)</span><span class="keyword">,</span></td></tr>
    <tr class="covered-by-large-tests popin d-flex"><td  data-title="120 tests cover line 121" data-content="&lt;ul&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::nonIterableTypeCollects&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::basicTypeAndCount with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::basicTypeAndCount with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::basicTypeAndCount with data set #2&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::basicTypeAndCount with data set #3&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::basicTypeAndCount with data set #4&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::appendByMethod with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::appendByMethod with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::appendByMethod with data set #2&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::appendByMethod with data set #3&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::appendByMethod with data set #4&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::appendLikeArray with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::appendLikeArray with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::appendLikeArray with data set #2&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::appendLikeArray with data set #3&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::appendLikeArray with data set #4&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::offsetSetByMethod with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::offsetSetByMethod with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::offsetSetByMethod with data set #2&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::offsetSetByMethod with data set #3&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::offsetSetLikeArray with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::offsetSetLikeArray with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::offsetSetLikeArray with data set #2&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::offsetSetLikeArray with data set #3&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollections with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollections with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollections with data set #2&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollections with data set #3&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollectionsWithIncorrectTypes with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollectionsWithIncorrectTypes with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollectionsWithIncorrectTypes with data set #2&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollectionsWithIncorrectTypes with data set #3&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollectionsWithIncorrectTypes with data set #4&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollectionsWithIncorrectTypes with data set #5&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollectionsWithIncorrectTypes with data set #6&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollectionsWithIncorrectTypes with data set #7&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollectionsWithIncorrectTypes with data set #8&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::checkMapOfCollectionData with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::checkMapOfCollectionData with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::checkMapOfCollectionData with data set #2&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::checkMapOfCollectionData with data set #3&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::checkEachEntryInTheCollection with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::checkEachEntryInTheCollection with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::checkEachEntryInTheCollection with data set #2&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::checkEachEntryInTheCollection with data set #3&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::reduceTheCollectionToAString with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::reduceTheCollectionToAString with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::reduceTheCollectionToAString with data set #2&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::reduceTheCollectionToAString with data set #3&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::filterTheCollection with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::filterTheCollection with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::filterTheCollection with data set #2&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::filterTheCollection with data set #3&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::filterTheCollectionWithACallable with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::filterTheCollectionWithACallable with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::filterTheCollectionWithACallable with data set #2&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::filterTheCollectionWithACallable with data set #3&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::filterOutOddNumbers&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::getFirstValue with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::getFirstValue with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::getFirstValue with data set #2&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::getFirstValue with data set #3&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::getFirstValueByCallback&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::getLastValue with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::getLastValue with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::getLastValue with data set #2&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::getLastValue with data set #3&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::getLastValueByCallback&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::containsValue with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::containsValue with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::containsValue with data set #2&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::containsValue with data set #3&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::containsValueByCallback&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::pushAndPop&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::mergeTwoCollections&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::simpleSort with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::simpleSort with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::userSort with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::userSort with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::simpleSortTypedCollection with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::simpleSortTypedCollection with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::userSortTypedCollection with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::userSortTypedCollection with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::simpleSortTypedKeyCollection with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::simpleSortTypedKeyCollection with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::userSortTypedKeyCollection with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::userSortTypedKeyCollection with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::simpleAsort with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::simpleAsort with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::userAsort with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::userAsort with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::shuffle with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::shuffle with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::shuffleWithSeed with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::shuffleWithSeed with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::collectInto&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::failToCollectIntoANonCollectionType&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::failToCollectIntoANonExitingType&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::mapInto&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::mapIntoThrows&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::slice&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::collectionWillJsonSerialize with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::collectionWillJsonSerialize with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::collectionWillJsonSerialize with data set #2&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::collectionWillJsonSerialize with data set #3&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::collectionWillJsonSerialize with data set #4&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::checkForNonEmptyCollection&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::keyStrategyNotSetWorksOnConstruction&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::keyStrategyNotSetWorksWithAppend&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::keyStrategyNotSetWorksWithOffsetSet&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::keyStrategySetWorksOnConstruction&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::keyStrategySetWorksOnAppend&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::keyStrategySetWorksOnOffsetSet&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::itImplodesStrings&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::itImplodesObjects&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\FunctionsTest::functions with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\FunctionsTest::functions with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\FunctionsTest::functions with data set #2&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\FunctionsTest::functions with data set #3&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\FunctionsTest::functions with data set #4&lt;/li&gt;&lt;/ul&gt;" data-placement="top" data-html="true" class="col-1 text-right"><a id="121" href="#121">121</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="default">$this</span><span class="default">-&gt;</span><span class="default">checkType</span><span class="keyword">(</span><span class="default">$value</span><span class="keyword">,</span><span class="default">&nbsp;</span><span class="default">$this</span><span class="default">-&gt;</span><span class="default">valueType</span><span class="keyword">)</span></td></tr>
    <tr class="covered-by-large-tests popin d-flex"><td  data-title="120 tests cover line 122" data-content="&lt;ul&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::nonIterableTypeCollects&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::basicTypeAndCount with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::basicTypeAndCount with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::basicTypeAndCount with data set #2&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::basicTypeAndCount with data set #3&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::basicTypeAndCount with data set #4&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::appendByMethod with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::appendByMethod with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::appendByMethod with data set #2&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::appendByMethod with data set #3&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::appendByMethod with data set #4&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::appendLikeArray with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::appendLikeArray with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::appendLikeArray with data set #2&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::appendLikeArray with data set #3&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::appendLikeArray with data set #4&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::offsetSetByMethod with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::offsetSetByMethod with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::offsetSetByMethod with data set #2&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::offsetSetByMethod with data set #3&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::offsetSetLikeArray with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::offsetSetLikeArray with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::offsetSetLikeArray with data set #2&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::offsetSetLikeArray with data set #3&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollections with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollections with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollections with data set #2&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollections with data set #3&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollectionsWithIncorrectTypes with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollectionsWithIncorrectTypes with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollectionsWithIncorrectTypes with data set #2&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollectionsWithIncorrectTypes with data set #3&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollectionsWithIncorrectTypes with data set #4&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollectionsWithIncorrectTypes with data set #5&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollectionsWithIncorrectTypes with data set #6&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollectionsWithIncorrectTypes with data set #7&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollectionsWithIncorrectTypes with data set #8&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::checkMapOfCollectionData with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::checkMapOfCollectionData with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::checkMapOfCollectionData with data set #2&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::checkMapOfCollectionData with data set #3&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::checkEachEntryInTheCollection with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::checkEachEntryInTheCollection with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::checkEachEntryInTheCollection with data set #2&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::checkEachEntryInTheCollection with data set #3&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::reduceTheCollectionToAString with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::reduceTheCollectionToAString with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::reduceTheCollectionToAString with data set #2&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::reduceTheCollectionToAString with data set #3&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::filterTheCollection with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::filterTheCollection with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::filterTheCollection with data set #2&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::filterTheCollection with data set #3&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::filterTheCollectionWithACallable with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::filterTheCollectionWithACallable with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::filterTheCollectionWithACallable with data set #2&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::filterTheCollectionWithACallable with data set #3&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::filterOutOddNumbers&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::getFirstValue with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::getFirstValue with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::getFirstValue with data set #2&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::getFirstValue with data set #3&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::getFirstValueByCallback&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::getLastValue with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::getLastValue with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::getLastValue with data set #2&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::getLastValue with data set #3&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::getLastValueByCallback&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::containsValue with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::containsValue with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::containsValue with data set #2&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::containsValue with data set #3&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::containsValueByCallback&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::pushAndPop&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::mergeTwoCollections&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::simpleSort with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::simpleSort with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::userSort with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::userSort with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::simpleSortTypedCollection with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::simpleSortTypedCollection with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::userSortTypedCollection with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::userSortTypedCollection with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::simpleSortTypedKeyCollection with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::simpleSortTypedKeyCollection with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::userSortTypedKeyCollection with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::userSortTypedKeyCollection with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::simpleAsort with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::simpleAsort with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::userAsort with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::userAsort with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::shuffle with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::shuffle with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::shuffleWithSeed with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::shuffleWithSeed with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::collectInto&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::failToCollectIntoANonCollectionType&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::failToCollectIntoANonExitingType&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::mapInto&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::mapIntoThrows&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::slice&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::collectionWillJsonSerialize with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::collectionWillJsonSerialize with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::collectionWillJsonSerialize with data set #2&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::collectionWillJsonSerialize with data set #3&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::collectionWillJsonSerialize with data set #4&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::checkForNonEmptyCollection&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::keyStrategyNotSetWorksOnConstruction&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::keyStrategyNotSetWorksWithAppend&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::keyStrategyNotSetWorksWithOffsetSet&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::keyStrategySetWorksOnConstruction&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::keyStrategySetWorksOnAppend&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::keyStrategySetWorksOnOffsetSet&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::itImplodesStrings&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::itImplodesObjects&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\FunctionsTest::functions with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\FunctionsTest::functions with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\FunctionsTest::functions with data set #2&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\FunctionsTest::functions with data set #3&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\FunctionsTest::functions with data set #4&lt;/li&gt;&lt;/ul&gt;" data-placement="top" data-html="true" class="col-1 text-right"><a id="122" href="#122">122</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="keyword">)</span><span class="keyword">;</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="123" href="#123">123</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="keyword">}</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="124" href="#124">124</a></td><td class="col-11 codeLine"></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="125" href="#125">125</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="comment">/**</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="126" href="#126">126</a></td><td class="col-11 codeLine"><span class="comment">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*&nbsp;Check&nbsp;Value&nbsp;Type</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="127" href="#127">127</a></td><td class="col-11 codeLine"><span class="comment">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="128" href="#128">128</a></td><td class="col-11 codeLine"><span class="comment">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*&nbsp;If&nbsp;$type&nbsp;is&nbsp;not&nbsp;null,&nbsp;check&nbsp;that&nbsp;the&nbsp;provided&nbsp;value&nbsp;is&nbsp;the&nbsp;correct&nbsp;type.&nbsp;Throw&nbsp;a&nbsp;TypeError&nbsp;if&nbsp;not,&nbsp;and&nbsp;return&nbsp;the</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="129" href="#129">129</a></td><td class="col-11 codeLine"><span class="comment">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*&nbsp;value&nbsp;if&nbsp;it&nbsp;is.</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="130" href="#130">130</a></td><td class="col-11 codeLine"><span class="comment">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="131" href="#131">131</a></td><td class="col-11 codeLine"><span class="comment">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*&nbsp;@param&nbsp;mixed&nbsp;$value</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="132" href="#132">132</a></td><td class="col-11 codeLine"><span class="comment">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*&nbsp;@param&nbsp;string|null&nbsp;$expectedType</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="133" href="#133">133</a></td><td class="col-11 codeLine"><span class="comment">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*&nbsp;@return&nbsp;mixed</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="134" href="#134">134</a></td><td class="col-11 codeLine"><span class="comment">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*&nbsp;@throws&nbsp;TypeError</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="135" href="#135">135</a></td><td class="col-11 codeLine"><span class="comment">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*/</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="136" href="#136">136</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="keyword">private</span><span class="default">&nbsp;</span><span class="keyword">function</span><span class="default">&nbsp;</span><span class="default">checkType</span><span class="keyword">(</span><span class="default">mixed</span><span class="default">&nbsp;</span><span class="default">$value</span><span class="keyword">,</span><span class="default">&nbsp;</span><span class="keyword">?</span><span class="default">string</span><span class="default">&nbsp;</span><span class="default">$expectedType</span><span class="keyword">)</span><span class="keyword">:</span><span class="default">&nbsp;</span><span class="default">mixed</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="137" href="#137">137</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="keyword">{</span></td></tr>
    <tr class="covered-by-large-tests popin d-flex"><td  data-title="120 tests cover line 138" data-content="&lt;ul&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::nonIterableTypeCollects&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::basicTypeAndCount with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::basicTypeAndCount with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::basicTypeAndCount with data set #2&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::basicTypeAndCount with data set #3&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::basicTypeAndCount with data set #4&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::appendByMethod with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::appendByMethod with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::appendByMethod with data set #2&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::appendByMethod with data set #3&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::appendByMethod with data set #4&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::appendLikeArray with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::appendLikeArray with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::appendLikeArray with data set #2&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::appendLikeArray with data set #3&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::appendLikeArray with data set #4&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::offsetSetByMethod with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::offsetSetByMethod with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::offsetSetByMethod with data set #2&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::offsetSetByMethod with data set #3&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::offsetSetLikeArray with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::offsetSetLikeArray with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::offsetSetLikeArray with data set #2&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::offsetSetLikeArray with data set #3&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollections with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollections with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollections with data set #2&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollections with data set #3&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollectionsWithIncorrectTypes with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollectionsWithIncorrectTypes with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollectionsWithIncorrectTypes with data set #2&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollectionsWithIncorrectTypes with data set #3&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollectionsWithIncorrectTypes with data set #4&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollectionsWithIncorrectTypes with data set #5&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollectionsWithIncorrectTypes with data set #6&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollectionsWithIncorrectTypes with data set #7&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollectionsWithIncorrectTypes with data set #8&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::checkMapOfCollectionData with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::checkMapOfCollectionData with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::checkMapOfCollectionData with data set #2&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::checkMapOfCollectionData with data set #3&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::checkEachEntryInTheCollection with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::checkEachEntryInTheCollection with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::checkEachEntryInTheCollection with data set #2&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::checkEachEntryInTheCollection with data set #3&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::reduceTheCollectionToAString with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::reduceTheCollectionToAString with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::reduceTheCollectionToAString with data set #2&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::reduceTheCollectionToAString with data set #3&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::filterTheCollection with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::filterTheCollection with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::filterTheCollection with data set #2&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::filterTheCollection with data set #3&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::filterTheCollectionWithACallable with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::filterTheCollectionWithACallable with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::filterTheCollectionWithACallable with data set #2&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::filterTheCollectionWithACallable with data set #3&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::filterOutOddNumbers&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::getFirstValue with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::getFirstValue with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::getFirstValue with data set #2&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::getFirstValue with data set #3&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::getFirstValueByCallback&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::getLastValue with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::getLastValue with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::getLastValue with data set #2&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::getLastValue with data set #3&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::getLastValueByCallback&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::containsValue with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::containsValue with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::containsValue with data set #2&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::containsValue with data set #3&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::containsValueByCallback&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::pushAndPop&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::mergeTwoCollections&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::simpleSort with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::simpleSort with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::userSort with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::userSort with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::simpleSortTypedCollection with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::simpleSortTypedCollection with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::userSortTypedCollection with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::userSortTypedCollection with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::simpleSortTypedKeyCollection with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::simpleSortTypedKeyCollection with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::userSortTypedKeyCollection with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::userSortTypedKeyCollection with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::simpleAsort with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::simpleAsort with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::userAsort with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::userAsort with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::shuffle with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::shuffle with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::shuffleWithSeed with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::shuffleWithSeed with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::collectInto&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::failToCollectIntoANonCollectionType&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::failToCollectIntoANonExitingType&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::mapInto&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::mapIntoThrows&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::slice&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::collectionWillJsonSerialize with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::collectionWillJsonSerialize with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::collectionWillJsonSerialize with data set #2&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::collectionWillJsonSerialize with data set #3&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::collectionWillJsonSerialize with data set #4&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::checkForNonEmptyCollection&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::keyStrategyNotSetWorksOnConstruction&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::keyStrategyNotSetWorksWithAppend&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::keyStrategyNotSetWorksWithOffsetSet&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::keyStrategySetWorksOnConstruction&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::keyStrategySetWorksOnAppend&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::keyStrategySetWorksOnOffsetSet&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::itImplodesStrings&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::itImplodesObjects&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\FunctionsTest::functions with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\FunctionsTest::functions with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\FunctionsTest::functions with data set #2&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\FunctionsTest::functions with data set #3&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\FunctionsTest::functions with data set #4&lt;/li&gt;&lt;/ul&gt;" data-placement="top" data-html="true" class="col-1 text-right"><a id="138" href="#138">138</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="keyword">if</span><span class="default">&nbsp;</span><span class="keyword">(</span><span class="default">$expectedType</span><span class="keyword">)</span><span class="default">&nbsp;</span><span class="keyword">{</span></td></tr>
    <tr class="covered-by-large-tests popin d-flex"><td  data-title="23 tests cover line 139" data-content="&lt;ul&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollections with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollections with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollections with data set #2&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollections with data set #3&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollectionsWithIncorrectTypes with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollectionsWithIncorrectTypes with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollectionsWithIncorrectTypes with data set #2&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollectionsWithIncorrectTypes with data set #3&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollectionsWithIncorrectTypes with data set #4&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollectionsWithIncorrectTypes with data set #5&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollectionsWithIncorrectTypes with data set #6&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollectionsWithIncorrectTypes with data set #7&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollectionsWithIncorrectTypes with data set #8&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::simpleSortTypedCollection with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::simpleSortTypedCollection with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::userSortTypedCollection with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::userSortTypedCollection with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::simpleSortTypedKeyCollection with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::simpleSortTypedKeyCollection with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::userSortTypedKeyCollection with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::userSortTypedKeyCollection with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::mapInto&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::mapIntoThrows&lt;/li&gt;&lt;/ul&gt;" data-placement="top" data-html="true" class="col-1 text-right"><a id="139" href="#139">139</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="default">$valueType</span><span class="default">&nbsp;</span><span class="keyword">=</span><span class="default">&nbsp;</span><span class="default">gettype</span><span class="keyword">(</span><span class="default">$value</span><span class="keyword">)</span><span class="keyword">;</span></td></tr>
    <tr class="covered-by-large-tests popin d-flex"><td  data-title="23 tests cover line 140" data-content="&lt;ul&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollections with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollections with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollections with data set #2&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollections with data set #3&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollectionsWithIncorrectTypes with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollectionsWithIncorrectTypes with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollectionsWithIncorrectTypes with data set #2&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollectionsWithIncorrectTypes with data set #3&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollectionsWithIncorrectTypes with data set #4&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollectionsWithIncorrectTypes with data set #5&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollectionsWithIncorrectTypes with data set #6&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollectionsWithIncorrectTypes with data set #7&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollectionsWithIncorrectTypes with data set #8&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::simpleSortTypedCollection with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::simpleSortTypedCollection with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::userSortTypedCollection with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::userSortTypedCollection with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::simpleSortTypedKeyCollection with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::simpleSortTypedKeyCollection with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::userSortTypedKeyCollection with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::userSortTypedKeyCollection with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::mapInto&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::mapIntoThrows&lt;/li&gt;&lt;/ul&gt;" data-placement="top" data-html="true" class="col-1 text-right"><a id="140" href="#140">140</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="keyword">if</span><span class="default">&nbsp;</span><span class="keyword">(</span><span class="default">$valueType</span><span class="default">&nbsp;</span><span class="default">===</span><span class="default">&nbsp;</span><span class="default">'object'</span><span class="keyword">)</span><span class="default">&nbsp;</span><span class="keyword">{</span></td></tr>
    <tr class="covered-by-large-tests popin d-flex"><td  data-title="1 test covers line 141" data-content="&lt;ul&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollectionsWithIncorrectTypes with data set #6&lt;/li&gt;&lt;/ul&gt;" data-placement="top" data-html="true" class="col-1 text-right"><a id="141" href="#141">141</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="keyword">if</span><span class="default">&nbsp;</span><span class="keyword">(</span><span class="keyword">!</span><span class="default">$value</span><span class="default">&nbsp;</span><span class="keyword">instanceof</span><span class="default">&nbsp;</span><span class="default">$expectedType</span><span class="keyword">)</span><span class="default">&nbsp;</span><span class="keyword">{</span></td></tr>
    <tr class="covered-by-large-tests popin d-flex"><td  data-title="1 test covers line 142" data-content="&lt;ul&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollectionsWithIncorrectTypes with data set #6&lt;/li&gt;&lt;/ul&gt;" data-placement="top" data-html="true" class="col-1 text-right"><a id="142" href="#142">142</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="keyword">throw</span><span class="default">&nbsp;</span><span class="keyword">new</span><span class="default">&nbsp;</span><span class="default">TypeError</span><span class="keyword">(</span><span class="default">sprintf</span><span class="keyword">(</span></td></tr>
    <tr class="covered-by-large-tests popin d-flex"><td  data-title="1 test covers line 143" data-content="&lt;ul&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollectionsWithIncorrectTypes with data set #6&lt;/li&gt;&lt;/ul&gt;" data-placement="top" data-html="true" class="col-1 text-right"><a id="143" href="#143">143</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="default">&quot;Invalid&nbsp;object&nbsp;type.&nbsp;Should&nbsp;be&nbsp;%s:&nbsp;%s&nbsp;collected&quot;</span><span class="keyword">,</span></td></tr>
    <tr class="covered-by-large-tests popin d-flex"><td  data-title="1 test covers line 144" data-content="&lt;ul&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollectionsWithIncorrectTypes with data set #6&lt;/li&gt;&lt;/ul&gt;" data-placement="top" data-html="true" class="col-1 text-right"><a id="144" href="#144">144</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="default">$expectedType</span><span class="keyword">,</span></td></tr>
    <tr class="covered-by-large-tests popin d-flex"><td  data-title="1 test covers line 145" data-content="&lt;ul&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollectionsWithIncorrectTypes with data set #6&lt;/li&gt;&lt;/ul&gt;" data-placement="top" data-html="true" class="col-1 text-right"><a id="145" href="#145">145</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="default">get_class</span><span class="keyword">(</span><span class="default">$value</span><span class="keyword">)</span></td></tr>
    <tr class="covered-by-large-tests popin d-flex"><td  data-title="1 test covers line 146" data-content="&lt;ul&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollectionsWithIncorrectTypes with data set #6&lt;/li&gt;&lt;/ul&gt;" data-placement="top" data-html="true" class="col-1 text-right"><a id="146" href="#146">146</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="keyword">)</span><span class="keyword">)</span><span class="keyword">;</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="147" href="#147">147</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="keyword">}</span></td></tr>
    <tr class="covered-by-large-tests popin d-flex"><td  data-title="22 tests cover line 148" data-content="&lt;ul&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollections with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollections with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollections with data set #2&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollections with data set #3&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollectionsWithIncorrectTypes with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollectionsWithIncorrectTypes with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollectionsWithIncorrectTypes with data set #2&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollectionsWithIncorrectTypes with data set #3&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollectionsWithIncorrectTypes with data set #4&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollectionsWithIncorrectTypes with data set #5&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollectionsWithIncorrectTypes with data set #7&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollectionsWithIncorrectTypes with data set #8&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::simpleSortTypedCollection with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::simpleSortTypedCollection with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::userSortTypedCollection with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::userSortTypedCollection with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::simpleSortTypedKeyCollection with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::simpleSortTypedKeyCollection with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::userSortTypedKeyCollection with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::userSortTypedKeyCollection with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::mapInto&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::mapIntoThrows&lt;/li&gt;&lt;/ul&gt;" data-placement="top" data-html="true" class="col-1 text-right"><a id="148" href="#148">148</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="keyword">}</span><span class="default">&nbsp;</span><span class="keyword">elseif</span><span class="default">&nbsp;</span><span class="keyword">(</span><span class="default">$valueType</span><span class="default">&nbsp;</span><span class="default">!==</span><span class="default">&nbsp;</span><span class="default">$expectedType</span><span class="keyword">)</span><span class="default">&nbsp;</span><span class="keyword">{</span></td></tr>
    <tr class="covered-by-large-tests popin d-flex"><td  data-title="9 tests cover line 149" data-content="&lt;ul&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollectionsWithIncorrectTypes with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollectionsWithIncorrectTypes with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollectionsWithIncorrectTypes with data set #2&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollectionsWithIncorrectTypes with data set #3&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollectionsWithIncorrectTypes with data set #4&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollectionsWithIncorrectTypes with data set #5&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollectionsWithIncorrectTypes with data set #7&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollectionsWithIncorrectTypes with data set #8&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::mapIntoThrows&lt;/li&gt;&lt;/ul&gt;" data-placement="top" data-html="true" class="col-1 text-right"><a id="149" href="#149">149</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="keyword">throw</span><span class="default">&nbsp;</span><span class="keyword">new</span><span class="default">&nbsp;</span><span class="default">TypeError</span><span class="keyword">(</span><span class="default">sprintf</span><span class="keyword">(</span></td></tr>
    <tr class="covered-by-large-tests popin d-flex"><td  data-title="9 tests cover line 150" data-content="&lt;ul&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollectionsWithIncorrectTypes with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollectionsWithIncorrectTypes with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollectionsWithIncorrectTypes with data set #2&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollectionsWithIncorrectTypes with data set #3&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollectionsWithIncorrectTypes with data set #4&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollectionsWithIncorrectTypes with data set #5&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollectionsWithIncorrectTypes with data set #7&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollectionsWithIncorrectTypes with data set #8&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::mapIntoThrows&lt;/li&gt;&lt;/ul&gt;" data-placement="top" data-html="true" class="col-1 text-right"><a id="150" href="#150">150</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="default">&quot;Invalid&nbsp;type.&nbsp;Should&nbsp;be&nbsp;%s:&nbsp;%s&nbsp;collected&quot;</span><span class="keyword">,</span></td></tr>
    <tr class="covered-by-large-tests popin d-flex"><td  data-title="9 tests cover line 151" data-content="&lt;ul&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollectionsWithIncorrectTypes with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollectionsWithIncorrectTypes with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollectionsWithIncorrectTypes with data set #2&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollectionsWithIncorrectTypes with data set #3&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollectionsWithIncorrectTypes with data set #4&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollectionsWithIncorrectTypes with data set #5&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollectionsWithIncorrectTypes with data set #7&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollectionsWithIncorrectTypes with data set #8&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::mapIntoThrows&lt;/li&gt;&lt;/ul&gt;" data-placement="top" data-html="true" class="col-1 text-right"><a id="151" href="#151">151</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="default">$expectedType</span><span class="keyword">,</span></td></tr>
    <tr class="covered-by-large-tests popin d-flex"><td  data-title="9 tests cover line 152" data-content="&lt;ul&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollectionsWithIncorrectTypes with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollectionsWithIncorrectTypes with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollectionsWithIncorrectTypes with data set #2&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollectionsWithIncorrectTypes with data set #3&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollectionsWithIncorrectTypes with data set #4&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollectionsWithIncorrectTypes with data set #5&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollectionsWithIncorrectTypes with data set #7&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollectionsWithIncorrectTypes with data set #8&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::mapIntoThrows&lt;/li&gt;&lt;/ul&gt;" data-placement="top" data-html="true" class="col-1 text-right"><a id="152" href="#152">152</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="default">$valueType</span></td></tr>
    <tr class="covered-by-large-tests popin d-flex"><td  data-title="9 tests cover line 153" data-content="&lt;ul&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollectionsWithIncorrectTypes with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollectionsWithIncorrectTypes with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollectionsWithIncorrectTypes with data set #2&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollectionsWithIncorrectTypes with data set #3&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollectionsWithIncorrectTypes with data set #4&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollectionsWithIncorrectTypes with data set #5&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollectionsWithIncorrectTypes with data set #7&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollectionsWithIncorrectTypes with data set #8&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::mapIntoThrows&lt;/li&gt;&lt;/ul&gt;" data-placement="top" data-html="true" class="col-1 text-right"><a id="153" href="#153">153</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="keyword">)</span><span class="keyword">)</span><span class="keyword">;</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="154" href="#154">154</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="keyword">}</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="155" href="#155">155</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="keyword">}</span></td></tr>
    <tr class="covered-by-large-tests popin d-flex"><td  data-title="115 tests cover line 156" data-content="&lt;ul&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::nonIterableTypeCollects&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::basicTypeAndCount with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::basicTypeAndCount with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::basicTypeAndCount with data set #2&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::basicTypeAndCount with data set #3&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::basicTypeAndCount with data set #4&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::appendByMethod with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::appendByMethod with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::appendByMethod with data set #2&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::appendByMethod with data set #3&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::appendByMethod with data set #4&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::appendLikeArray with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::appendLikeArray with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::appendLikeArray with data set #2&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::appendLikeArray with data set #3&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::appendLikeArray with data set #4&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::offsetSetByMethod with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::offsetSetByMethod with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::offsetSetByMethod with data set #2&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::offsetSetByMethod with data set #3&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::offsetSetLikeArray with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::offsetSetLikeArray with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::offsetSetLikeArray with data set #2&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::offsetSetLikeArray with data set #3&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollections with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollections with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollections with data set #2&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollections with data set #3&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollectionsWithIncorrectTypes with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollectionsWithIncorrectTypes with data set #4&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollectionsWithIncorrectTypes with data set #6&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollectionsWithIncorrectTypes with data set #8&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::checkMapOfCollectionData with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::checkMapOfCollectionData with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::checkMapOfCollectionData with data set #2&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::checkMapOfCollectionData with data set #3&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::checkEachEntryInTheCollection with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::checkEachEntryInTheCollection with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::checkEachEntryInTheCollection with data set #2&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::checkEachEntryInTheCollection with data set #3&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::reduceTheCollectionToAString with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::reduceTheCollectionToAString with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::reduceTheCollectionToAString with data set #2&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::reduceTheCollectionToAString with data set #3&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::filterTheCollection with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::filterTheCollection with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::filterTheCollection with data set #2&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::filterTheCollection with data set #3&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::filterTheCollectionWithACallable with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::filterTheCollectionWithACallable with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::filterTheCollectionWithACallable with data set #2&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::filterTheCollectionWithACallable with data set #3&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::filterOutOddNumbers&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::getFirstValue with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::getFirstValue with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::getFirstValue with data set #2&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::getFirstValue with data set #3&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::getFirstValueByCallback&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::getLastValue with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::getLastValue with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::getLastValue with data set #2&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::getLastValue with data set #3&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::getLastValueByCallback&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::containsValue with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::containsValue with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::containsValue with data set #2&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::containsValue with data set #3&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::containsValueByCallback&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::pushAndPop&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::mergeTwoCollections&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::simpleSort with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::simpleSort with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::userSort with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::userSort with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::simpleSortTypedCollection with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::simpleSortTypedCollection with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::userSortTypedCollection with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::userSortTypedCollection with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::simpleSortTypedKeyCollection with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::simpleSortTypedKeyCollection with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::userSortTypedKeyCollection with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::userSortTypedKeyCollection with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::simpleAsort with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::simpleAsort with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::userAsort with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::userAsort with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::shuffle with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::shuffle with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::shuffleWithSeed with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::shuffleWithSeed with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::collectInto&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::failToCollectIntoANonCollectionType&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::failToCollectIntoANonExitingType&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::mapInto&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::mapIntoThrows&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::slice&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::collectionWillJsonSerialize with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::collectionWillJsonSerialize with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::collectionWillJsonSerialize with data set #2&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::collectionWillJsonSerialize with data set #3&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::collectionWillJsonSerialize with data set #4&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::checkForNonEmptyCollection&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::keyStrategyNotSetWorksOnConstruction&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::keyStrategyNotSetWorksWithAppend&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::keyStrategyNotSetWorksWithOffsetSet&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::keyStrategySetWorksOnConstruction&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::keyStrategySetWorksOnAppend&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::keyStrategySetWorksOnOffsetSet&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::itImplodesStrings&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::itImplodesObjects&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\FunctionsTest::functions with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\FunctionsTest::functions with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\FunctionsTest::functions with data set #2&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\FunctionsTest::functions with data set #3&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\FunctionsTest::functions with data set #4&lt;/li&gt;&lt;/ul&gt;" data-placement="top" data-html="true" class="col-1 text-right"><a id="156" href="#156">156</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="keyword">return</span><span class="default">&nbsp;</span><span class="default">$value</span><span class="keyword">;</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="157" href="#157">157</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="keyword">}</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="158" href="#158">158</a></td><td class="col-11 codeLine"></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="159" href="#159">159</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="comment">/**</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="160" href="#160">160</a></td><td class="col-11 codeLine"><span class="comment">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*&nbsp;Copy&nbsp;entries&nbsp;into&nbsp;a&nbsp;new&nbsp;collection</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="161" href="#161">161</a></td><td class="col-11 codeLine"><span class="comment">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="162" href="#162">162</a></td><td class="col-11 codeLine"><span class="comment">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*&nbsp;@param&nbsp;string&nbsp;$type&nbsp;The&nbsp;collection&nbsp;type&nbsp;to&nbsp;copy&nbsp;into</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="163" href="#163">163</a></td><td class="col-11 codeLine"><span class="comment">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*&nbsp;@return&nbsp;self</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="164" href="#164">164</a></td><td class="col-11 codeLine"><span class="comment">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*&nbsp;@throws&nbsp;TypeError</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="165" href="#165">165</a></td><td class="col-11 codeLine"><span class="comment">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*/</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="166" href="#166">166</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="keyword">public</span><span class="default">&nbsp;</span><span class="keyword">function</span><span class="default">&nbsp;</span><span class="default">into</span><span class="keyword">(</span><span class="default">string</span><span class="default">&nbsp;</span><span class="default">$type</span><span class="keyword">)</span><span class="keyword">:</span><span class="default">&nbsp;</span><span class="default">Collection</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="167" href="#167">167</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="keyword">{</span></td></tr>
    <tr class="covered-by-large-tests popin d-flex"><td  data-title="3 tests cover line 168" data-content="&lt;ul&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::collectInto&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::failToCollectIntoANonCollectionType&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::failToCollectIntoANonExitingType&lt;/li&gt;&lt;/ul&gt;" data-placement="top" data-html="true" class="col-1 text-right"><a id="168" href="#168">168</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="keyword">return</span><span class="default">&nbsp;</span><span class="default">self</span><span class="default">::</span><span class="default">newCollectionOfType</span><span class="keyword">(</span><span class="default">$type</span><span class="keyword">,</span><span class="default">&nbsp;</span><span class="default">$this</span><span class="default">-&gt;</span><span class="default">getArrayCopy</span><span class="keyword">(</span><span class="keyword">)</span><span class="keyword">)</span><span class="keyword">;</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="169" href="#169">169</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="keyword">}</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="170" href="#170">170</a></td><td class="col-11 codeLine"></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="171" href="#171">171</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="comment">/**</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="172" href="#172">172</a></td><td class="col-11 codeLine"><span class="comment">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*&nbsp;Map&nbsp;collection&nbsp;into&nbsp;a&nbsp;new&nbsp;collection&nbsp;of&nbsp;a&nbsp;given&nbsp;type</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="173" href="#173">173</a></td><td class="col-11 codeLine"><span class="comment">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="174" href="#174">174</a></td><td class="col-11 codeLine"><span class="comment">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*&nbsp;@param&nbsp;callable&nbsp;$callable</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="175" href="#175">175</a></td><td class="col-11 codeLine"><span class="comment">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*&nbsp;@param&nbsp;string&nbsp;$type</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="176" href="#176">176</a></td><td class="col-11 codeLine"><span class="comment">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*&nbsp;@return&nbsp;Collection</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="177" href="#177">177</a></td><td class="col-11 codeLine"><span class="comment">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*/</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="178" href="#178">178</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="keyword">public</span><span class="default">&nbsp;</span><span class="keyword">function</span><span class="default">&nbsp;</span><span class="default">mapInto</span><span class="keyword">(</span><span class="keyword">callable</span><span class="default">&nbsp;</span><span class="default">$callable</span><span class="keyword">,</span><span class="default">&nbsp;</span><span class="default">string</span><span class="default">&nbsp;</span><span class="default">$type</span><span class="keyword">)</span><span class="keyword">:</span><span class="default">&nbsp;</span><span class="default">self</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="179" href="#179">179</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="keyword">{</span></td></tr>
    <tr class="covered-by-large-tests popin d-flex"><td  data-title="2 tests cover line 180" data-content="&lt;ul&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::mapInto&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::mapIntoThrows&lt;/li&gt;&lt;/ul&gt;" data-placement="top" data-html="true" class="col-1 text-right"><a id="180" href="#180">180</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="keyword">return</span><span class="default">&nbsp;</span><span class="default">self</span><span class="default">::</span><span class="default">newCollectionOfType</span><span class="keyword">(</span><span class="default">$type</span><span class="keyword">,</span><span class="default">&nbsp;</span><span class="default">array_map</span><span class="keyword">(</span><span class="default">$callable</span><span class="keyword">,</span><span class="default">&nbsp;</span><span class="default">$this</span><span class="default">-&gt;</span><span class="default">getArrayCopy</span><span class="keyword">(</span><span class="keyword">)</span><span class="keyword">)</span><span class="keyword">)</span><span class="keyword">;</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="181" href="#181">181</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="keyword">}</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="182" href="#182">182</a></td><td class="col-11 codeLine"></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="183" href="#183">183</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="comment">/**</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="184" href="#184">184</a></td><td class="col-11 codeLine"><span class="comment">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*&nbsp;Get&nbsp;a&nbsp;new&nbsp;collection&nbsp;of&nbsp;a&nbsp;given&nbsp;type</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="185" href="#185">185</a></td><td class="col-11 codeLine"><span class="comment">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="186" href="#186">186</a></td><td class="col-11 codeLine"><span class="comment">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*&nbsp;@param&nbsp;string&nbsp;$type&nbsp;The&nbsp;collection&nbsp;type&nbsp;that&nbsp;you&nbsp;want&nbsp;an&nbsp;instance&nbsp;of</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="187" href="#187">187</a></td><td class="col-11 codeLine"><span class="comment">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*&nbsp;@param&nbsp;array&nbsp;$items&nbsp;The&nbsp;items&nbsp;that&nbsp;you&nbsp;want&nbsp;to&nbsp;collect&nbsp;immediately&nbsp;(defaults&nbsp;to&nbsp;nothing)</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="188" href="#188">188</a></td><td class="col-11 codeLine"><span class="comment">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*&nbsp;@return&nbsp;self</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="189" href="#189">189</a></td><td class="col-11 codeLine"><span class="comment">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*/</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="190" href="#190">190</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="keyword">public</span><span class="default">&nbsp;</span><span class="keyword">static</span><span class="default">&nbsp;</span><span class="keyword">function</span><span class="default">&nbsp;</span><span class="default">newCollectionOfType</span><span class="keyword">(</span><span class="default">string</span><span class="default">&nbsp;</span><span class="default">$type</span><span class="keyword">,</span><span class="default">&nbsp;</span><span class="default">$items</span><span class="default">&nbsp;</span><span class="keyword">=</span><span class="default">&nbsp;</span><span class="keyword">[</span><span class="keyword">]</span><span class="keyword">)</span><span class="keyword">:</span><span class="default">&nbsp;</span><span class="default">Collection</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="191" href="#191">191</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="keyword">{</span></td></tr>
    <tr class="covered-by-large-tests popin d-flex"><td  data-title="5 tests cover line 192" data-content="&lt;ul&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::collectInto&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::failToCollectIntoANonCollectionType&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::failToCollectIntoANonExitingType&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::mapInto&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::mapIntoThrows&lt;/li&gt;&lt;/ul&gt;" data-placement="top" data-html="true" class="col-1 text-right"><a id="192" href="#192">192</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="keyword">if</span><span class="default">&nbsp;</span><span class="keyword">(</span><span class="default">class_exists</span><span class="keyword">(</span><span class="default">$type</span><span class="keyword">)</span><span class="default">&nbsp;</span><span class="default">===</span><span class="default">&nbsp;</span><span class="default">false</span><span class="keyword">)</span><span class="default">&nbsp;</span><span class="keyword">{</span></td></tr>
    <tr class="covered-by-large-tests popin d-flex"><td  data-title="1 test covers line 193" data-content="&lt;ul&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::failToCollectIntoANonExitingType&lt;/li&gt;&lt;/ul&gt;" data-placement="top" data-html="true" class="col-1 text-right"><a id="193" href="#193">193</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="keyword">throw</span><span class="default">&nbsp;</span><span class="keyword">new</span><span class="default">&nbsp;</span><span class="default">TypeError</span><span class="keyword">(</span><span class="default">sprintf</span><span class="keyword">(</span><span class="default">'Unknown&nbsp;class&nbsp;name&nbsp;&quot;%s&quot;'</span><span class="keyword">,</span><span class="default">&nbsp;</span><span class="default">$type</span><span class="keyword">)</span><span class="keyword">)</span><span class="keyword">;</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="194" href="#194">194</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="keyword">}</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="195" href="#195">195</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="keyword">if</span><span class="default">&nbsp;</span><span class="keyword">(</span></td></tr>
    <tr class="covered-by-large-tests popin d-flex"><td  data-title="4 tests cover line 196" data-content="&lt;ul&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::collectInto&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::failToCollectIntoANonCollectionType&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::mapInto&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::mapIntoThrows&lt;/li&gt;&lt;/ul&gt;" data-placement="top" data-html="true" class="col-1 text-right"><a id="196" href="#196">196</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="default">Collection</span><span class="default">::</span><span class="keyword">class</span><span class="default">&nbsp;</span><span class="default">!==</span><span class="default">&nbsp;</span><span class="default">$type</span><span class="default">&nbsp;</span><span class="default">&amp;&amp;</span></td></tr>
    <tr class="covered-by-large-tests popin d-flex"><td  data-title="4 tests cover line 197" data-content="&lt;ul&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::collectInto&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::failToCollectIntoANonCollectionType&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::mapInto&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::mapIntoThrows&lt;/li&gt;&lt;/ul&gt;" data-placement="top" data-html="true" class="col-1 text-right"><a id="197" href="#197">197</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="default">is_subclass_of</span><span class="keyword">(</span><span class="default">$type</span><span class="keyword">,</span><span class="default">&nbsp;</span><span class="default">Collection</span><span class="default">::</span><span class="keyword">class</span><span class="keyword">)</span><span class="default">&nbsp;</span><span class="default">===</span><span class="default">&nbsp;</span><span class="default">false</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="198" href="#198">198</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="keyword">)</span><span class="default">&nbsp;</span><span class="keyword">{</span></td></tr>
    <tr class="covered-by-large-tests popin d-flex"><td  data-title="1 test covers line 199" data-content="&lt;ul&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::failToCollectIntoANonCollectionType&lt;/li&gt;&lt;/ul&gt;" data-placement="top" data-html="true" class="col-1 text-right"><a id="199" href="#199">199</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="keyword">throw</span><span class="default">&nbsp;</span><span class="keyword">new</span><span class="default">&nbsp;</span><span class="default">TypeError</span><span class="keyword">(</span><span class="default">sprintf</span><span class="keyword">(</span><span class="default">'Class&nbsp;&quot;%s&quot;&nbsp;is&nbsp;not&nbsp;a&nbsp;Collection&nbsp;type'</span><span class="keyword">,</span><span class="default">&nbsp;</span><span class="default">$type</span><span class="keyword">)</span><span class="keyword">)</span><span class="keyword">;</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="200" href="#200">200</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="keyword">}</span></td></tr>
    <tr class="covered-by-large-tests popin d-flex"><td  data-title="3 tests cover line 201" data-content="&lt;ul&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::collectInto&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::mapInto&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::mapIntoThrows&lt;/li&gt;&lt;/ul&gt;" data-placement="top" data-html="true" class="col-1 text-right"><a id="201" href="#201">201</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="keyword">return</span><span class="default">&nbsp;</span><span class="keyword">new</span><span class="default">&nbsp;</span><span class="default">$type</span><span class="keyword">(</span><span class="default">$items</span><span class="keyword">)</span><span class="keyword">;</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="202" href="#202">202</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="keyword">}</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="203" href="#203">203</a></td><td class="col-11 codeLine"></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="204" href="#204">204</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="comment">/**</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="205" href="#205">205</a></td><td class="col-11 codeLine"><span class="comment">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*&nbsp;Map&nbsp;Function&nbsp;Against&nbsp;Collection&nbsp;and&nbsp;Return&nbsp;New&nbsp;Collection</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="206" href="#206">206</a></td><td class="col-11 codeLine"><span class="comment">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="207" href="#207">207</a></td><td class="col-11 codeLine"><span class="comment">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*&nbsp;@param&nbsp;callable&nbsp;$callable&nbsp;May&nbsp;take&nbsp;up&nbsp;to&nbsp;two&nbsp;arguments:&nbsp;First&nbsp;is&nbsp;the&nbsp;array&nbsp;value,&nbsp;the&nbsp;second&nbsp;is&nbsp;the&nbsp;array&nbsp;key</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="208" href="#208">208</a></td><td class="col-11 codeLine"><span class="comment">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*&nbsp;@return&nbsp;static&nbsp;New&nbsp;collection&nbsp;of&nbsp;the&nbsp;same&nbsp;type</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="209" href="#209">209</a></td><td class="col-11 codeLine"><span class="comment">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*/</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="210" href="#210">210</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="comment">//&nbsp;phpcs:ignore&nbsp;Squiz.WhiteSpace.ScopeKeywordSpacing.Incorrect&nbsp;--&nbsp;Broken&nbsp;until&nbsp;3.6.0</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="211" href="#211">211</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="keyword">public</span><span class="default">&nbsp;</span><span class="keyword">function</span><span class="default">&nbsp;</span><span class="default">map</span><span class="keyword">(</span><span class="keyword">callable</span><span class="default">&nbsp;</span><span class="default">$callable</span><span class="keyword">)</span><span class="keyword">:</span><span class="default">&nbsp;</span><span class="keyword">static</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="212" href="#212">212</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="keyword">{</span></td></tr>
    <tr class="covered-by-large-tests popin d-flex"><td  data-title="5 tests cover line 213" data-content="&lt;ul&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::checkMapOfCollectionData with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::checkMapOfCollectionData with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::checkMapOfCollectionData with data set #2&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::checkMapOfCollectionData with data set #3&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::getLastValueByCallback&lt;/li&gt;&lt;/ul&gt;" data-placement="top" data-html="true" class="col-1 text-right"><a id="213" href="#213">213</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="default">$array</span><span class="default">&nbsp;</span><span class="keyword">=</span><span class="default">&nbsp;</span><span class="default">$this</span><span class="default">-&gt;</span><span class="default">getArrayCopy</span><span class="keyword">(</span><span class="keyword">)</span><span class="keyword">;</span></td></tr>
    <tr class="covered-by-large-tests popin d-flex"><td  data-title="5 tests cover line 214" data-content="&lt;ul&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::checkMapOfCollectionData with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::checkMapOfCollectionData with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::checkMapOfCollectionData with data set #2&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::checkMapOfCollectionData with data set #3&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::getLastValueByCallback&lt;/li&gt;&lt;/ul&gt;" data-placement="top" data-html="true" class="col-1 text-right"><a id="214" href="#214">214</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="keyword">return</span><span class="default">&nbsp;</span><span class="default">$this</span><span class="default">-&gt;</span><span class="default">getNewInstance</span><span class="keyword">(</span><span class="default">array_map</span><span class="keyword">(</span><span class="default">$callable</span><span class="keyword">,</span><span class="default">&nbsp;</span><span class="default">$array</span><span class="keyword">,</span><span class="default">&nbsp;</span><span class="default">array_keys</span><span class="keyword">(</span><span class="default">$array</span><span class="keyword">)</span><span class="keyword">)</span><span class="keyword">)</span><span class="keyword">;</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="215" href="#215">215</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="keyword">}</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="216" href="#216">216</a></td><td class="col-11 codeLine"></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="217" href="#217">217</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="comment">/**</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="218" href="#218">218</a></td><td class="col-11 codeLine"><span class="comment">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*&nbsp;Slice&nbsp;the&nbsp;sequence&nbsp;of&nbsp;elements&nbsp;from&nbsp;the&nbsp;array&nbsp;as&nbsp;per&nbsp;the&nbsp;`$offset`&nbsp;and&nbsp;`$length`</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="219" href="#219">219</a></td><td class="col-11 codeLine"><span class="comment">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="220" href="#220">220</a></td><td class="col-11 codeLine"><span class="comment">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*&nbsp;@see&nbsp;https://www.php.net/manual/en/function.array-slice.php</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="221" href="#221">221</a></td><td class="col-11 codeLine"><span class="comment">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="222" href="#222">222</a></td><td class="col-11 codeLine"><span class="comment">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*&nbsp;@param&nbsp;int&nbsp;$offset&nbsp;&nbsp;&nbsp;If&nbsp;offset&nbsp;is&nbsp;non-negative,&nbsp;the&nbsp;sequence&nbsp;will&nbsp;start&nbsp;at&nbsp;that&nbsp;offset&nbsp;in&nbsp;the&nbsp;array.</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="223" href="#223">223</a></td><td class="col-11 codeLine"><span class="comment">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;If&nbsp;offset&nbsp;is&nbsp;negative,&nbsp;the&nbsp;sequence&nbsp;will&nbsp;start&nbsp;that&nbsp;far&nbsp;from&nbsp;the&nbsp;end&nbsp;of&nbsp;the&nbsp;array.</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="224" href="#224">224</a></td><td class="col-11 codeLine"><span class="comment">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The&nbsp;offset&nbsp;parameter&nbsp;denotes&nbsp;the&nbsp;position&nbsp;in&nbsp;the&nbsp;array,&nbsp;not&nbsp;the&nbsp;key.</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="225" href="#225">225</a></td><td class="col-11 codeLine"><span class="comment">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*&nbsp;@param&nbsp;?int&nbsp;$length&nbsp;&nbsp;If&nbsp;length&nbsp;is&nbsp;given&nbsp;and&nbsp;is&nbsp;positive,&nbsp;then&nbsp;the&nbsp;sequence&nbsp;will&nbsp;have&nbsp;up&nbsp;to&nbsp;that&nbsp;many&nbsp;elements&nbsp;in</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="226" href="#226">226</a></td><td class="col-11 codeLine"><span class="comment">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;it.</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="227" href="#227">227</a></td><td class="col-11 codeLine"><span class="comment">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;If&nbsp;the&nbsp;array&nbsp;is&nbsp;shorter&nbsp;than&nbsp;the&nbsp;length,&nbsp;then&nbsp;only&nbsp;the&nbsp;available&nbsp;array&nbsp;elements&nbsp;will&nbsp;be</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="228" href="#228">228</a></td><td class="col-11 codeLine"><span class="comment">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;present.</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="229" href="#229">229</a></td><td class="col-11 codeLine"><span class="comment">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;If&nbsp;length&nbsp;is&nbsp;given&nbsp;and&nbsp;is&nbsp;negative&nbsp;then&nbsp;the&nbsp;sequence&nbsp;will&nbsp;stop&nbsp;that&nbsp;many&nbsp;elements&nbsp;from&nbsp;the</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="230" href="#230">230</a></td><td class="col-11 codeLine"><span class="comment">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;end&nbsp;of&nbsp;the&nbsp;array.</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="231" href="#231">231</a></td><td class="col-11 codeLine"><span class="comment">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;If&nbsp;it&nbsp;is&nbsp;omitted,&nbsp;then&nbsp;the&nbsp;sequence&nbsp;will&nbsp;have&nbsp;everything&nbsp;from&nbsp;offset&nbsp;up&nbsp;until&nbsp;the&nbsp;end&nbsp;of&nbsp;the</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="232" href="#232">232</a></td><td class="col-11 codeLine"><span class="comment">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;array.</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="233" href="#233">233</a></td><td class="col-11 codeLine"><span class="comment">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*&nbsp;@return&nbsp;static&nbsp;New&nbsp;collection&nbsp;of&nbsp;the&nbsp;same&nbsp;type</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="234" href="#234">234</a></td><td class="col-11 codeLine"><span class="comment">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*/</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="235" href="#235">235</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="comment">//&nbsp;phpcs:ignore&nbsp;Squiz.WhiteSpace.ScopeKeywordSpacing.Incorrect&nbsp;--&nbsp;Broken&nbsp;until&nbsp;3.6.0</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="236" href="#236">236</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="keyword">public</span><span class="default">&nbsp;</span><span class="keyword">function</span><span class="default">&nbsp;</span><span class="default">slice</span><span class="keyword">(</span><span class="default">int</span><span class="default">&nbsp;</span><span class="default">$offset</span><span class="keyword">,</span><span class="default">&nbsp;</span><span class="keyword">?</span><span class="default">int</span><span class="default">&nbsp;</span><span class="default">$length</span><span class="default">&nbsp;</span><span class="keyword">=</span><span class="default">&nbsp;</span><span class="default">null</span><span class="keyword">)</span><span class="keyword">:</span><span class="default">&nbsp;</span><span class="keyword">static</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="237" href="#237">237</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="keyword">{</span></td></tr>
    <tr class="covered-by-large-tests popin d-flex"><td  data-title="1 test covers line 238" data-content="&lt;ul&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::slice&lt;/li&gt;&lt;/ul&gt;" data-placement="top" data-html="true" class="col-1 text-right"><a id="238" href="#238">238</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="keyword">return</span><span class="default">&nbsp;</span><span class="default">$this</span><span class="default">-&gt;</span><span class="default">getNewInstance</span><span class="keyword">(</span><span class="default">array_slice</span><span class="keyword">(</span><span class="default">$this</span><span class="default">-&gt;</span><span class="default">getArrayCopy</span><span class="keyword">(</span><span class="keyword">)</span><span class="keyword">,</span><span class="default">&nbsp;</span><span class="default">$offset</span><span class="keyword">,</span><span class="default">&nbsp;</span><span class="default">$length</span><span class="keyword">)</span><span class="keyword">)</span><span class="keyword">;</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="239" href="#239">239</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="keyword">}</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="240" href="#240">240</a></td><td class="col-11 codeLine"></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="241" href="#241">241</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="comment">/**</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="242" href="#242">242</a></td><td class="col-11 codeLine"><span class="comment">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*&nbsp;Walk&nbsp;Over&nbsp;Collection&nbsp;Entities</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="243" href="#243">243</a></td><td class="col-11 codeLine"><span class="comment">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="244" href="#244">244</a></td><td class="col-11 codeLine"><span class="comment">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*&nbsp;Does&nbsp;not&nbsp;return;&nbsp;use&nbsp;map()&nbsp;for&nbsp;that</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="245" href="#245">245</a></td><td class="col-11 codeLine"><span class="comment">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="246" href="#246">246</a></td><td class="col-11 codeLine"><span class="comment">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*&nbsp;@param&nbsp;callable&nbsp;$callable</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="247" href="#247">247</a></td><td class="col-11 codeLine"><span class="comment">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*/</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="248" href="#248">248</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="keyword">public</span><span class="default">&nbsp;</span><span class="keyword">function</span><span class="default">&nbsp;</span><span class="default">each</span><span class="keyword">(</span><span class="keyword">callable</span><span class="default">&nbsp;</span><span class="default">$callable</span><span class="keyword">)</span><span class="keyword">:</span><span class="default">&nbsp;</span><span class="default">void</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="249" href="#249">249</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="keyword">{</span></td></tr>
    <tr class="covered-by-large-tests popin d-flex"><td  data-title="5 tests cover line 250" data-content="&lt;ul&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::checkEachEntryInTheCollection with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::checkEachEntryInTheCollection with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::checkEachEntryInTheCollection with data set #2&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::checkEachEntryInTheCollection with data set #3&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::mapInto&lt;/li&gt;&lt;/ul&gt;" data-placement="top" data-html="true" class="col-1 text-right"><a id="250" href="#250">250</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="default">$array</span><span class="default">&nbsp;</span><span class="keyword">=</span><span class="default">&nbsp;</span><span class="default">$this</span><span class="default">-&gt;</span><span class="default">getArrayCopy</span><span class="keyword">(</span><span class="keyword">)</span><span class="keyword">;</span></td></tr>
    <tr class="covered-by-large-tests popin d-flex"><td  data-title="5 tests cover line 251" data-content="&lt;ul&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::checkEachEntryInTheCollection with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::checkEachEntryInTheCollection with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::checkEachEntryInTheCollection with data set #2&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::checkEachEntryInTheCollection with data set #3&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::mapInto&lt;/li&gt;&lt;/ul&gt;" data-placement="top" data-html="true" class="col-1 text-right"><a id="251" href="#251">251</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="default">array_walk</span><span class="keyword">(</span><span class="default">$array</span><span class="keyword">,</span><span class="default">&nbsp;</span><span class="default">$callable</span><span class="keyword">)</span><span class="keyword">;</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="252" href="#252">252</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="keyword">}</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="253" href="#253">253</a></td><td class="col-11 codeLine"></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="254" href="#254">254</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="comment">/**</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="255" href="#255">255</a></td><td class="col-11 codeLine"><span class="comment">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*&nbsp;Reduce&nbsp;Collection&nbsp;by&nbsp;Callable</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="256" href="#256">256</a></td><td class="col-11 codeLine"><span class="comment">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="257" href="#257">257</a></td><td class="col-11 codeLine"><span class="comment">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*&nbsp;@param&nbsp;callable&nbsp;$callable&nbsp;Requires&nbsp;two&nbsp;arguments;&nbsp;the&nbsp;first&nbsp;to&nbsp;carry&nbsp;from&nbsp;the&nbsp;previous&nbsp;iteration,&nbsp;and&nbsp;the&nbsp;second</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="258" href="#258">258</a></td><td class="col-11 codeLine"><span class="comment">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;as&nbsp;the&nbsp;item</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="259" href="#259">259</a></td><td class="col-11 codeLine"><span class="comment">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*&nbsp;@param&nbsp;mixed&nbsp;$carry&nbsp;Initial&nbsp;value,&nbsp;or&nbsp;returned&nbsp;if&nbsp;array&nbsp;is&nbsp;empty</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="260" href="#260">260</a></td><td class="col-11 codeLine"><span class="comment">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*&nbsp;@return&nbsp;mixed&nbsp;Type&nbsp;depends&nbsp;on&nbsp;return&nbsp;value&nbsp;of&nbsp;$callable</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="261" href="#261">261</a></td><td class="col-11 codeLine"><span class="comment">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*/</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="262" href="#262">262</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="keyword">public</span><span class="default">&nbsp;</span><span class="keyword">function</span><span class="default">&nbsp;</span><span class="default">reduce</span><span class="keyword">(</span><span class="keyword">callable</span><span class="default">&nbsp;</span><span class="default">$callable</span><span class="keyword">,</span><span class="default">&nbsp;</span><span class="default">mixed</span><span class="default">&nbsp;</span><span class="default">$carry</span><span class="default">&nbsp;</span><span class="keyword">=</span><span class="default">&nbsp;</span><span class="default">null</span><span class="keyword">)</span><span class="keyword">:</span><span class="default">&nbsp;</span><span class="default">mixed</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="263" href="#263">263</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="keyword">{</span></td></tr>
    <tr class="covered-by-large-tests popin d-flex"><td  data-title="4 tests cover line 264" data-content="&lt;ul&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::reduceTheCollectionToAString with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::reduceTheCollectionToAString with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::reduceTheCollectionToAString with data set #2&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::reduceTheCollectionToAString with data set #3&lt;/li&gt;&lt;/ul&gt;" data-placement="top" data-html="true" class="col-1 text-right"><a id="264" href="#264">264</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="default">$array</span><span class="default">&nbsp;</span><span class="keyword">=</span><span class="default">&nbsp;</span><span class="default">$this</span><span class="default">-&gt;</span><span class="default">getArrayCopy</span><span class="keyword">(</span><span class="keyword">)</span><span class="keyword">;</span></td></tr>
    <tr class="covered-by-large-tests popin d-flex"><td  data-title="4 tests cover line 265" data-content="&lt;ul&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::reduceTheCollectionToAString with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::reduceTheCollectionToAString with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::reduceTheCollectionToAString with data set #2&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::reduceTheCollectionToAString with data set #3&lt;/li&gt;&lt;/ul&gt;" data-placement="top" data-html="true" class="col-1 text-right"><a id="265" href="#265">265</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="keyword">return</span><span class="default">&nbsp;</span><span class="default">array_reduce</span><span class="keyword">(</span><span class="default">$array</span><span class="keyword">,</span><span class="default">&nbsp;</span><span class="default">$callable</span><span class="keyword">,</span><span class="default">&nbsp;</span><span class="default">$carry</span><span class="keyword">)</span><span class="keyword">;</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="266" href="#266">266</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="keyword">}</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="267" href="#267">267</a></td><td class="col-11 codeLine"></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="268" href="#268">268</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="comment">/**</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="269" href="#269">269</a></td><td class="col-11 codeLine"><span class="comment">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*&nbsp;Filter&nbsp;Collection&nbsp;By&nbsp;Callable</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="270" href="#270">270</a></td><td class="col-11 codeLine"><span class="comment">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="271" href="#271">271</a></td><td class="col-11 codeLine"><span class="comment">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*&nbsp;@param&nbsp;callable|null&nbsp;$callable&nbsp;Callback&nbsp;for&nbsp;each&nbsp;iteration.&nbsp;If&nbsp;null&nbsp;will&nbsp;just&nbsp;filter&nbsp;empty&nbsp;values&nbsp;from&nbsp;array</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="272" href="#272">272</a></td><td class="col-11 codeLine"><span class="comment">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*&nbsp;@param&nbsp;int|null&nbsp;$flag&nbsp;Collection::FILTER_USE_KEY&nbsp;or&nbsp;Collection::FILTER_USE_BOTH</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="273" href="#273">273</a></td><td class="col-11 codeLine"><span class="comment">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*&nbsp;@return&nbsp;static</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="274" href="#274">274</a></td><td class="col-11 codeLine"><span class="comment">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*/</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="275" href="#275">275</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="comment">//&nbsp;phpcs:ignore&nbsp;Squiz.WhiteSpace.ScopeKeywordSpacing.Incorrect&nbsp;--&nbsp;Broken&nbsp;until&nbsp;3.6.0</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="276" href="#276">276</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="keyword">public</span><span class="default">&nbsp;</span><span class="keyword">function</span><span class="default">&nbsp;</span><span class="default">filter</span><span class="keyword">(</span><span class="keyword">?</span><span class="keyword">callable</span><span class="default">&nbsp;</span><span class="default">$callable</span><span class="default">&nbsp;</span><span class="keyword">=</span><span class="default">&nbsp;</span><span class="default">null</span><span class="keyword">,</span><span class="default">&nbsp;</span><span class="default">int</span><span class="default">&nbsp;</span><span class="default">$mode</span><span class="default">&nbsp;</span><span class="keyword">=</span><span class="default">&nbsp;</span><span class="default">0</span><span class="keyword">)</span><span class="keyword">:</span><span class="default">&nbsp;</span><span class="keyword">static</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="277" href="#277">277</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="keyword">{</span></td></tr>
    <tr class="covered-by-large-tests popin d-flex"><td  data-title="9 tests cover line 278" data-content="&lt;ul&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::filterTheCollection with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::filterTheCollection with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::filterTheCollection with data set #2&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::filterTheCollection with data set #3&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::filterTheCollectionWithACallable with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::filterTheCollectionWithACallable with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::filterTheCollectionWithACallable with data set #2&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::filterTheCollectionWithACallable with data set #3&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::filterOutOddNumbers&lt;/li&gt;&lt;/ul&gt;" data-placement="top" data-html="true" class="col-1 text-right"><a id="278" href="#278">278</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="default">$array</span><span class="default">&nbsp;</span><span class="keyword">=</span><span class="default">&nbsp;</span><span class="default">$this</span><span class="default">-&gt;</span><span class="default">getArrayCopy</span><span class="keyword">(</span><span class="keyword">)</span><span class="keyword">;</span></td></tr>
    <tr class="covered-by-large-tests popin d-flex"><td  data-title="9 tests cover line 279" data-content="&lt;ul&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::filterTheCollection with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::filterTheCollection with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::filterTheCollection with data set #2&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::filterTheCollection with data set #3&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::filterTheCollectionWithACallable with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::filterTheCollectionWithACallable with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::filterTheCollectionWithACallable with data set #2&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::filterTheCollectionWithACallable with data set #3&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::filterOutOddNumbers&lt;/li&gt;&lt;/ul&gt;" data-placement="top" data-html="true" class="col-1 text-right"><a id="279" href="#279">279</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="keyword">if</span><span class="default">&nbsp;</span><span class="keyword">(</span><span class="default">$callable</span><span class="default">&nbsp;</span><span class="default">&amp;&amp;</span><span class="default">&nbsp;</span><span class="default">is_callable</span><span class="keyword">(</span><span class="default">$callable</span><span class="keyword">)</span><span class="keyword">)</span><span class="default">&nbsp;</span><span class="keyword">{</span></td></tr>
    <tr class="covered-by-large-tests popin d-flex"><td  data-title="5 tests cover line 280" data-content="&lt;ul&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::filterTheCollectionWithACallable with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::filterTheCollectionWithACallable with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::filterTheCollectionWithACallable with data set #2&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::filterTheCollectionWithACallable with data set #3&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::filterOutOddNumbers&lt;/li&gt;&lt;/ul&gt;" data-placement="top" data-html="true" class="col-1 text-right"><a id="280" href="#280">280</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="keyword">return</span><span class="default">&nbsp;</span><span class="default">$this</span><span class="default">-&gt;</span><span class="default">getNewInstance</span><span class="keyword">(</span><span class="default">array_filter</span><span class="keyword">(</span><span class="default">$array</span><span class="keyword">,</span><span class="default">&nbsp;</span><span class="default">$callable</span><span class="keyword">,</span><span class="default">&nbsp;</span><span class="default">$mode</span><span class="keyword">)</span><span class="keyword">)</span><span class="keyword">;</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="281" href="#281">281</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="keyword">}</span></td></tr>
    <tr class="covered-by-large-tests popin d-flex"><td  data-title="4 tests cover line 282" data-content="&lt;ul&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::filterTheCollection with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::filterTheCollection with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::filterTheCollection with data set #2&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::filterTheCollection with data set #3&lt;/li&gt;&lt;/ul&gt;" data-placement="top" data-html="true" class="col-1 text-right"><a id="282" href="#282">282</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="keyword">return</span><span class="default">&nbsp;</span><span class="default">$this</span><span class="default">-&gt;</span><span class="default">getNewInstance</span><span class="keyword">(</span><span class="default">array_filter</span><span class="keyword">(</span><span class="default">$array</span><span class="keyword">)</span><span class="keyword">)</span><span class="keyword">;</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="283" href="#283">283</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="keyword">}</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="284" href="#284">284</a></td><td class="col-11 codeLine"></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="285" href="#285">285</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="comment">/**</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="286" href="#286">286</a></td><td class="col-11 codeLine"><span class="comment">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*&nbsp;Get&nbsp;First&nbsp;Entry&nbsp;From&nbsp;Collection</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="287" href="#287">287</a></td><td class="col-11 codeLine"><span class="comment">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="288" href="#288">288</a></td><td class="col-11 codeLine"><span class="comment">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*&nbsp;@param&nbsp;?callable(mixed&nbsp;$item,&nbsp;mixed&nbsp;$key):mixed&nbsp;$callable&nbsp;If&nbsp;provided&nbsp;will&nbsp;return&nbsp;the&nbsp;first&nbsp;value&nbsp;that&nbsp;this</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="289" href="#289">289</a></td><td class="col-11 codeLine"><span class="comment">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*&nbsp;&nbsp;&nbsp;callback&nbsp;returns</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="290" href="#290">290</a></td><td class="col-11 codeLine"><span class="comment">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*&nbsp;@param&nbsp;mixed&nbsp;$default&nbsp;If&nbsp;no&nbsp;result&nbsp;is&nbsp;found,&nbsp;return&nbsp;this&nbsp;instead</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="291" href="#291">291</a></td><td class="col-11 codeLine"><span class="comment">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*&nbsp;@return&nbsp;mixed</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="292" href="#292">292</a></td><td class="col-11 codeLine"><span class="comment">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*/</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="293" href="#293">293</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="keyword">public</span><span class="default">&nbsp;</span><span class="keyword">function</span><span class="default">&nbsp;</span><span class="default">first</span><span class="keyword">(</span><span class="keyword">?</span><span class="keyword">callable</span><span class="default">&nbsp;</span><span class="default">$callable</span><span class="default">&nbsp;</span><span class="keyword">=</span><span class="default">&nbsp;</span><span class="default">null</span><span class="keyword">,</span><span class="default">&nbsp;</span><span class="default">mixed</span><span class="default">&nbsp;</span><span class="default">$default</span><span class="default">&nbsp;</span><span class="keyword">=</span><span class="default">&nbsp;</span><span class="default">null</span><span class="keyword">)</span><span class="keyword">:</span><span class="default">&nbsp;</span><span class="default">mixed</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="294" href="#294">294</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="keyword">{</span></td></tr>
    <tr class="covered-by-large-tests popin d-flex"><td  data-title="8 tests cover line 295" data-content="&lt;ul&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::getFirstValue with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::getFirstValue with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::getFirstValue with data set #2&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::getFirstValue with data set #3&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::getFirstValueByCallback&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::containsValueByCallback&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::pushAndPop&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::mergeTwoCollections&lt;/li&gt;&lt;/ul&gt;" data-placement="top" data-html="true" class="col-1 text-right"><a id="295" href="#295">295</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="keyword">if</span><span class="default">&nbsp;</span><span class="keyword">(</span><span class="default">is_callable</span><span class="keyword">(</span><span class="default">$callable</span><span class="keyword">)</span><span class="default">&nbsp;</span><span class="default">===</span><span class="default">&nbsp;</span><span class="default">false</span><span class="keyword">)</span><span class="default">&nbsp;</span><span class="keyword">{</span></td></tr>
    <tr class="covered-by-large-tests popin d-flex"><td  data-title="6 tests cover line 296" data-content="&lt;ul&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::getFirstValue with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::getFirstValue with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::getFirstValue with data set #2&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::getFirstValue with data set #3&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::pushAndPop&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::mergeTwoCollections&lt;/li&gt;&lt;/ul&gt;" data-placement="top" data-html="true" class="col-1 text-right"><a id="296" href="#296">296</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="default">$callable</span><span class="default">&nbsp;</span><span class="keyword">=</span><span class="default">&nbsp;</span><span class="keyword">static</span><span class="default">&nbsp;</span><span class="keyword">fn</span><span class="default">&nbsp;</span><span class="keyword">(</span><span class="default">$item</span><span class="keyword">,</span><span class="default">&nbsp;</span><span class="default">$key</span><span class="keyword">)</span><span class="default">&nbsp;</span><span class="default">=&gt;</span><span class="default">&nbsp;</span><span class="default">$item</span><span class="keyword">;</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="297" href="#297">297</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="keyword">}</span></td></tr>
    <tr class="covered-by-large-tests popin d-flex"><td  data-title="8 tests cover line 298" data-content="&lt;ul&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::getFirstValue with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::getFirstValue with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::getFirstValue with data set #2&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::getFirstValue with data set #3&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::getFirstValueByCallback&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::containsValueByCallback&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::pushAndPop&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::mergeTwoCollections&lt;/li&gt;&lt;/ul&gt;" data-placement="top" data-html="true" class="col-1 text-right"><a id="298" href="#298">298</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="default">$data</span><span class="default">&nbsp;</span><span class="keyword">=</span><span class="default">&nbsp;</span><span class="default">array_filter</span><span class="keyword">(</span><span class="default">$this</span><span class="default">-&gt;</span><span class="default">getArrayCopy</span><span class="keyword">(</span><span class="keyword">)</span><span class="keyword">)</span><span class="keyword">;</span></td></tr>
    <tr class="covered-by-large-tests popin d-flex"><td  data-title="8 tests cover line 299" data-content="&lt;ul&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::getFirstValue with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::getFirstValue with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::getFirstValue with data set #2&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::getFirstValue with data set #3&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::getFirstValueByCallback&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::containsValueByCallback&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::pushAndPop&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::mergeTwoCollections&lt;/li&gt;&lt;/ul&gt;" data-placement="top" data-html="true" class="col-1 text-right"><a id="299" href="#299">299</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="keyword">foreach</span><span class="default">&nbsp;</span><span class="keyword">(</span><span class="default">$data</span><span class="default">&nbsp;</span><span class="keyword">as</span><span class="default">&nbsp;</span><span class="default">$key</span><span class="default">&nbsp;</span><span class="default">=&gt;</span><span class="default">&nbsp;</span><span class="default">$item</span><span class="keyword">)</span><span class="default">&nbsp;</span><span class="keyword">{</span></td></tr>
    <tr class="covered-by-large-tests popin d-flex"><td  data-title="7 tests cover line 300" data-content="&lt;ul&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::getFirstValue with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::getFirstValue with data set #2&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::getFirstValue with data set #3&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::getFirstValueByCallback&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::containsValueByCallback&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::pushAndPop&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::mergeTwoCollections&lt;/li&gt;&lt;/ul&gt;" data-placement="top" data-html="true" class="col-1 text-right"><a id="300" href="#300">300</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="keyword">if</span><span class="default">&nbsp;</span><span class="keyword">(</span><span class="default">$callable</span><span class="keyword">(</span><span class="default">$item</span><span class="keyword">,</span><span class="default">&nbsp;</span><span class="default">$key</span><span class="keyword">)</span><span class="keyword">)</span><span class="default">&nbsp;</span><span class="keyword">{</span></td></tr>
    <tr class="covered-by-large-tests popin d-flex"><td  data-title="7 tests cover line 301" data-content="&lt;ul&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::getFirstValue with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::getFirstValue with data set #2&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::getFirstValue with data set #3&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::getFirstValueByCallback&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::containsValueByCallback&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::pushAndPop&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::mergeTwoCollections&lt;/li&gt;&lt;/ul&gt;" data-placement="top" data-html="true" class="col-1 text-right"><a id="301" href="#301">301</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="keyword">return</span><span class="default">&nbsp;</span><span class="default">$item</span><span class="keyword">;</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="302" href="#302">302</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="keyword">}</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="303" href="#303">303</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="keyword">}</span></td></tr>
    <tr class="covered-by-large-tests popin d-flex"><td  data-title="1 test covers line 304" data-content="&lt;ul&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::getFirstValue with data set #0&lt;/li&gt;&lt;/ul&gt;" data-placement="top" data-html="true" class="col-1 text-right"><a id="304" href="#304">304</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="keyword">return</span><span class="default">&nbsp;</span><span class="default">$default</span><span class="keyword">;</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="305" href="#305">305</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="keyword">}</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="306" href="#306">306</a></td><td class="col-11 codeLine"></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="307" href="#307">307</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="comment">/**</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="308" href="#308">308</a></td><td class="col-11 codeLine"><span class="comment">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*&nbsp;Get&nbsp;Last&nbsp;Entry&nbsp;From&nbsp;Collection</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="309" href="#309">309</a></td><td class="col-11 codeLine"><span class="comment">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="310" href="#310">310</a></td><td class="col-11 codeLine"><span class="comment">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*&nbsp;@param&nbsp;callable|null&nbsp;$callable&nbsp;If&nbsp;provided&nbsp;will&nbsp;return&nbsp;the&nbsp;last&nbsp;value&nbsp;that&nbsp;this&nbsp;callback&nbsp;returns</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="311" href="#311">311</a></td><td class="col-11 codeLine"><span class="comment">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*&nbsp;@param&nbsp;mixed|null&nbsp;If&nbsp;no&nbsp;result&nbsp;is&nbsp;found,&nbsp;return&nbsp;this&nbsp;instead</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="312" href="#312">312</a></td><td class="col-11 codeLine"><span class="comment">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*&nbsp;@return&nbsp;mixed</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="313" href="#313">313</a></td><td class="col-11 codeLine"><span class="comment">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*/</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="314" href="#314">314</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="keyword">public</span><span class="default">&nbsp;</span><span class="keyword">function</span><span class="default">&nbsp;</span><span class="default">last</span><span class="keyword">(</span><span class="keyword">?</span><span class="keyword">callable</span><span class="default">&nbsp;</span><span class="default">$callable</span><span class="default">&nbsp;</span><span class="keyword">=</span><span class="default">&nbsp;</span><span class="default">null</span><span class="keyword">,</span><span class="default">&nbsp;</span><span class="default">mixed</span><span class="default">&nbsp;</span><span class="default">$default</span><span class="default">&nbsp;</span><span class="keyword">=</span><span class="default">&nbsp;</span><span class="default">null</span><span class="keyword">)</span><span class="keyword">:</span><span class="default">&nbsp;</span><span class="default">mixed</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="315" href="#315">315</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="keyword">{</span></td></tr>
    <tr class="covered-by-large-tests popin d-flex"><td  data-title="7 tests cover line 316" data-content="&lt;ul&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::getLastValue with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::getLastValue with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::getLastValue with data set #2&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::getLastValue with data set #3&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::getLastValueByCallback&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::pushAndPop&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::mergeTwoCollections&lt;/li&gt;&lt;/ul&gt;" data-placement="top" data-html="true" class="col-1 text-right"><a id="316" href="#316">316</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="keyword">if</span><span class="default">&nbsp;</span><span class="keyword">(</span><span class="default">is_callable</span><span class="keyword">(</span><span class="default">$callable</span><span class="keyword">)</span><span class="default">&nbsp;</span><span class="default">===</span><span class="default">&nbsp;</span><span class="default">false</span><span class="keyword">)</span><span class="default">&nbsp;</span><span class="keyword">{</span></td></tr>
    <tr class="covered-by-large-tests popin d-flex"><td  data-title="7 tests cover line 317" data-content="&lt;ul&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::getLastValue with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::getLastValue with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::getLastValue with data set #2&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::getLastValue with data set #3&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::getLastValueByCallback&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::pushAndPop&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::mergeTwoCollections&lt;/li&gt;&lt;/ul&gt;" data-placement="top" data-html="true" class="col-1 text-right"><a id="317" href="#317">317</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="default">$array</span><span class="default">&nbsp;</span><span class="keyword">=</span><span class="default">&nbsp;</span><span class="default">array_filter</span><span class="keyword">(</span><span class="default">$this</span><span class="default">-&gt;</span><span class="default">getArrayCopy</span><span class="keyword">(</span><span class="keyword">)</span><span class="keyword">)</span><span class="keyword">;</span></td></tr>
    <tr class="covered-by-large-tests popin d-flex"><td  data-title="7 tests cover line 318" data-content="&lt;ul&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::getLastValue with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::getLastValue with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::getLastValue with data set #2&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::getLastValue with data set #3&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::getLastValueByCallback&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::pushAndPop&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::mergeTwoCollections&lt;/li&gt;&lt;/ul&gt;" data-placement="top" data-html="true" class="col-1 text-right"><a id="318" href="#318">318</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="keyword">return</span><span class="default">&nbsp;</span><span class="keyword">empty</span><span class="keyword">(</span><span class="default">$array</span><span class="keyword">)</span><span class="default">&nbsp;</span><span class="keyword">?</span><span class="default">&nbsp;</span><span class="default">$default</span><span class="default">&nbsp;</span><span class="keyword">:</span><span class="default">&nbsp;</span><span class="default">end</span><span class="keyword">(</span><span class="default">$array</span><span class="keyword">)</span><span class="keyword">;</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="319" href="#319">319</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="keyword">}</span></td></tr>
    <tr class="covered-by-large-tests popin d-flex"><td  data-title="1 test covers line 320" data-content="&lt;ul&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::getLastValueByCallback&lt;/li&gt;&lt;/ul&gt;" data-placement="top" data-html="true" class="col-1 text-right"><a id="320" href="#320">320</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="keyword">return</span><span class="default">&nbsp;</span><span class="default">$this</span><span class="default">-&gt;</span><span class="default">map</span><span class="keyword">(</span><span class="default">$callable</span><span class="keyword">)</span><span class="default">-&gt;</span><span class="default">last</span><span class="keyword">(</span><span class="default">null</span><span class="keyword">,</span><span class="default">&nbsp;</span><span class="default">$default</span><span class="keyword">)</span><span class="keyword">;</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="321" href="#321">321</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="keyword">}</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="322" href="#322">322</a></td><td class="col-11 codeLine"></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="323" href="#323">323</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="comment">/**</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="324" href="#324">324</a></td><td class="col-11 codeLine"><span class="comment">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*&nbsp;Check&nbsp;if&nbsp;Collection&nbsp;Contains&nbsp;Value</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="325" href="#325">325</a></td><td class="col-11 codeLine"><span class="comment">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="326" href="#326">326</a></td><td class="col-11 codeLine"><span class="comment">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*&nbsp;@param&nbsp;mixed|callable&nbsp;$check</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="327" href="#327">327</a></td><td class="col-11 codeLine"><span class="comment">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*&nbsp;@return&nbsp;bool</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="328" href="#328">328</a></td><td class="col-11 codeLine"><span class="comment">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*/</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="329" href="#329">329</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="keyword">public</span><span class="default">&nbsp;</span><span class="keyword">function</span><span class="default">&nbsp;</span><span class="default">contains</span><span class="keyword">(</span><span class="default">mixed</span><span class="default">&nbsp;</span><span class="default">$check</span><span class="keyword">)</span><span class="keyword">:</span><span class="default">&nbsp;</span><span class="default">bool</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="330" href="#330">330</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="keyword">{</span></td></tr>
    <tr class="covered-by-large-tests popin d-flex"><td  data-title="6 tests cover line 331" data-content="&lt;ul&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::containsValue with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::containsValue with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::containsValue with data set #2&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::containsValue with data set #3&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::containsValueByCallback&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::pushAndPop&lt;/li&gt;&lt;/ul&gt;" data-placement="top" data-html="true" class="col-1 text-right"><a id="331" href="#331">331</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="keyword">if</span><span class="default">&nbsp;</span><span class="keyword">(</span><span class="default">is_callable</span><span class="keyword">(</span><span class="default">$check</span><span class="keyword">)</span><span class="keyword">)</span><span class="default">&nbsp;</span><span class="keyword">{</span></td></tr>
    <tr class="covered-by-large-tests popin d-flex"><td  data-title="1 test covers line 332" data-content="&lt;ul&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::containsValueByCallback&lt;/li&gt;&lt;/ul&gt;" data-placement="top" data-html="true" class="col-1 text-right"><a id="332" href="#332">332</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="keyword">return</span><span class="default">&nbsp;</span><span class="default">(bool)</span><span class="default">$this</span><span class="default">-&gt;</span><span class="default">first</span><span class="keyword">(</span><span class="default">$check</span><span class="keyword">)</span><span class="keyword">;</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="333" href="#333">333</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="keyword">}</span></td></tr>
    <tr class="covered-by-large-tests popin d-flex"><td  data-title="5 tests cover line 334" data-content="&lt;ul&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::containsValue with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::containsValue with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::containsValue with data set #2&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::containsValue with data set #3&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::pushAndPop&lt;/li&gt;&lt;/ul&gt;" data-placement="top" data-html="true" class="col-1 text-right"><a id="334" href="#334">334</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="keyword">return</span><span class="default">&nbsp;</span><span class="default">in_array</span><span class="keyword">(</span><span class="default">$check</span><span class="keyword">,</span><span class="default">&nbsp;</span><span class="default">$this</span><span class="default">-&gt;</span><span class="default">getArrayCopy</span><span class="keyword">(</span><span class="keyword">)</span><span class="keyword">,</span><span class="default">&nbsp;</span><span class="default">true</span><span class="keyword">)</span><span class="keyword">;</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="335" href="#335">335</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="keyword">}</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="336" href="#336">336</a></td><td class="col-11 codeLine"></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="337" href="#337">337</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="comment">/**</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="338" href="#338">338</a></td><td class="col-11 codeLine"><span class="comment">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*&nbsp;Pop&nbsp;Entity&nbsp;Off&nbsp;Of&nbsp;The&nbsp;End&nbsp;Of&nbsp;The&nbsp;Collection</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="339" href="#339">339</a></td><td class="col-11 codeLine"><span class="comment">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="340" href="#340">340</a></td><td class="col-11 codeLine"><span class="comment">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*&nbsp;@return&nbsp;mixed</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="341" href="#341">341</a></td><td class="col-11 codeLine"><span class="comment">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*/</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="342" href="#342">342</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="keyword">public</span><span class="default">&nbsp;</span><span class="keyword">function</span><span class="default">&nbsp;</span><span class="default">pop</span><span class="keyword">(</span><span class="keyword">)</span><span class="keyword">:</span><span class="default">&nbsp;</span><span class="default">mixed</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="343" href="#343">343</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="keyword">{</span></td></tr>
    <tr class="covered-by-large-tests popin d-flex"><td  data-title="1 test covers line 344" data-content="&lt;ul&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::pushAndPop&lt;/li&gt;&lt;/ul&gt;" data-placement="top" data-html="true" class="col-1 text-right"><a id="344" href="#344">344</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="default">$array</span><span class="default">&nbsp;&nbsp;</span><span class="keyword">=</span><span class="default">&nbsp;</span><span class="default">$this</span><span class="default">-&gt;</span><span class="default">getArrayCopy</span><span class="keyword">(</span><span class="keyword">)</span><span class="keyword">;</span></td></tr>
    <tr class="covered-by-large-tests popin d-flex"><td  data-title="1 test covers line 345" data-content="&lt;ul&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::pushAndPop&lt;/li&gt;&lt;/ul&gt;" data-placement="top" data-html="true" class="col-1 text-right"><a id="345" href="#345">345</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="default">$popped</span><span class="default">&nbsp;</span><span class="keyword">=</span><span class="default">&nbsp;</span><span class="default">array_pop</span><span class="keyword">(</span><span class="default">$array</span><span class="keyword">)</span><span class="keyword">;</span></td></tr>
    <tr class="covered-by-large-tests popin d-flex"><td  data-title="1 test covers line 346" data-content="&lt;ul&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::pushAndPop&lt;/li&gt;&lt;/ul&gt;" data-placement="top" data-html="true" class="col-1 text-right"><a id="346" href="#346">346</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="default">$this</span><span class="default">-&gt;</span><span class="default">exchangeArray</span><span class="keyword">(</span><span class="default">$array</span><span class="keyword">)</span><span class="keyword">;</span></td></tr>
    <tr class="covered-by-large-tests popin d-flex"><td  data-title="1 test covers line 347" data-content="&lt;ul&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::pushAndPop&lt;/li&gt;&lt;/ul&gt;" data-placement="top" data-html="true" class="col-1 text-right"><a id="347" href="#347">347</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="keyword">return</span><span class="default">&nbsp;</span><span class="default">$popped</span><span class="keyword">;</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="348" href="#348">348</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="keyword">}</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="349" href="#349">349</a></td><td class="col-11 codeLine"></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="350" href="#350">350</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="comment">/**</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="351" href="#351">351</a></td><td class="col-11 codeLine"><span class="comment">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*&nbsp;Push&nbsp;Entities&nbsp;On&nbsp;To&nbsp;The&nbsp;End&nbsp;Of&nbsp;The&nbsp;Collection</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="352" href="#352">352</a></td><td class="col-11 codeLine"><span class="comment">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="353" href="#353">353</a></td><td class="col-11 codeLine"><span class="comment">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*&nbsp;@param&nbsp;array&nbsp;...$vals</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="354" href="#354">354</a></td><td class="col-11 codeLine"><span class="comment">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*/</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="355" href="#355">355</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="keyword">public</span><span class="default">&nbsp;</span><span class="keyword">function</span><span class="default">&nbsp;</span><span class="default">push</span><span class="keyword">(</span><span class="default">...</span><span class="default">$vals</span><span class="keyword">)</span><span class="keyword">:</span><span class="default">&nbsp;</span><span class="default">void</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="356" href="#356">356</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="keyword">{</span></td></tr>
    <tr class="covered-by-large-tests popin d-flex"><td  data-title="1 test covers line 357" data-content="&lt;ul&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::pushAndPop&lt;/li&gt;&lt;/ul&gt;" data-placement="top" data-html="true" class="col-1 text-right"><a id="357" href="#357">357</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="keyword">foreach</span><span class="default">&nbsp;</span><span class="keyword">(</span><span class="default">$vals</span><span class="default">&nbsp;</span><span class="keyword">as</span><span class="default">&nbsp;</span><span class="default">$val</span><span class="keyword">)</span><span class="default">&nbsp;</span><span class="keyword">{</span></td></tr>
    <tr class="covered-by-large-tests popin d-flex"><td  data-title="1 test covers line 358" data-content="&lt;ul&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::pushAndPop&lt;/li&gt;&lt;/ul&gt;" data-placement="top" data-html="true" class="col-1 text-right"><a id="358" href="#358">358</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="default">$this</span><span class="default">-&gt;</span><span class="default">append</span><span class="keyword">(</span><span class="default">$val</span><span class="keyword">)</span><span class="keyword">;</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="359" href="#359">359</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="keyword">}</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="360" href="#360">360</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="keyword">}</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="361" href="#361">361</a></td><td class="col-11 codeLine"></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="362" href="#362">362</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="comment">/**</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="363" href="#363">363</a></td><td class="col-11 codeLine"><span class="comment">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*&nbsp;Get&nbsp;a&nbsp;New&nbsp;Collection&nbsp;With&nbsp;Another&nbsp;Collection&nbsp;Merged&nbsp;In</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="364" href="#364">364</a></td><td class="col-11 codeLine"><span class="comment">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="365" href="#365">365</a></td><td class="col-11 codeLine"><span class="comment">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*&nbsp;Returns&nbsp;a&nbsp;new&nbsp;object&nbsp;which&nbsp;contains&nbsp;the&nbsp;original&nbsp;and&nbsp;new&nbsp;elements</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="366" href="#366">366</a></td><td class="col-11 codeLine"><span class="comment">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="367" href="#367">367</a></td><td class="col-11 codeLine"><span class="comment">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*&nbsp;@param&nbsp;Collection&nbsp;$add</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="368" href="#368">368</a></td><td class="col-11 codeLine"><span class="comment">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*&nbsp;@return&nbsp;static</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="369" href="#369">369</a></td><td class="col-11 codeLine"><span class="comment">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*/</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="370" href="#370">370</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="comment">//&nbsp;phpcs:ignore&nbsp;Squiz.WhiteSpace.ScopeKeywordSpacing.Incorrect&nbsp;--&nbsp;Broken&nbsp;until&nbsp;3.6.0</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="371" href="#371">371</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="keyword">public</span><span class="default">&nbsp;</span><span class="keyword">function</span><span class="default">&nbsp;</span><span class="default">merge</span><span class="keyword">(</span><span class="default">Collection</span><span class="default">&nbsp;</span><span class="default">$add</span><span class="keyword">)</span><span class="keyword">:</span><span class="default">&nbsp;</span><span class="keyword">static</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="372" href="#372">372</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="keyword">{</span></td></tr>
    <tr class="covered-by-large-tests popin d-flex"><td  data-title="1 test covers line 373" data-content="&lt;ul&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::mergeTwoCollections&lt;/li&gt;&lt;/ul&gt;" data-placement="top" data-html="true" class="col-1 text-right"><a id="373" href="#373">373</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="default">$clone</span><span class="default">&nbsp;</span><span class="keyword">=</span><span class="default">&nbsp;</span><span class="keyword">clone</span><span class="keyword">(</span><span class="default">$this</span><span class="keyword">)</span><span class="keyword">;</span></td></tr>
    <tr class="covered-by-large-tests popin d-flex"><td  data-title="1 test covers line 374" data-content="&lt;ul&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::mergeTwoCollections&lt;/li&gt;&lt;/ul&gt;" data-placement="top" data-html="true" class="col-1 text-right"><a id="374" href="#374">374</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="keyword">foreach</span><span class="default">&nbsp;</span><span class="keyword">(</span><span class="default">$add</span><span class="default">&nbsp;</span><span class="keyword">as</span><span class="default">&nbsp;</span><span class="default">$newElement</span><span class="keyword">)</span><span class="default">&nbsp;</span><span class="keyword">{</span></td></tr>
    <tr class="covered-by-large-tests popin d-flex"><td  data-title="1 test covers line 375" data-content="&lt;ul&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::mergeTwoCollections&lt;/li&gt;&lt;/ul&gt;" data-placement="top" data-html="true" class="col-1 text-right"><a id="375" href="#375">375</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="default">$clone</span><span class="default">-&gt;</span><span class="default">append</span><span class="keyword">(</span><span class="default">$newElement</span><span class="keyword">)</span><span class="keyword">;</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="376" href="#376">376</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="keyword">}</span></td></tr>
    <tr class="covered-by-large-tests popin d-flex"><td  data-title="1 test covers line 377" data-content="&lt;ul&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::mergeTwoCollections&lt;/li&gt;&lt;/ul&gt;" data-placement="top" data-html="true" class="col-1 text-right"><a id="377" href="#377">377</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="keyword">return</span><span class="default">&nbsp;</span><span class="default">$clone</span><span class="keyword">;</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="378" href="#378">378</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="keyword">}</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="379" href="#379">379</a></td><td class="col-11 codeLine"></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="380" href="#380">380</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="comment">/**</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="381" href="#381">381</a></td><td class="col-11 codeLine"><span class="comment">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*&nbsp;Get&nbsp;a&nbsp;New&nbsp;Collection&nbsp;With&nbsp;Contents&nbsp;Sorted</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="382" href="#382">382</a></td><td class="col-11 codeLine"><span class="comment">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="383" href="#383">383</a></td><td class="col-11 codeLine"><span class="comment">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*&nbsp;Functions&nbsp;the&nbsp;same&nbsp;as&nbsp;asort()&nbsp;if&nbsp;index&nbsp;types&nbsp;are&nbsp;constrained</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="384" href="#384">384</a></td><td class="col-11 codeLine"><span class="comment">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="385" href="#385">385</a></td><td class="col-11 codeLine"><span class="comment">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*&nbsp;@param&nbsp;int&nbsp;$flags</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="386" href="#386">386</a></td><td class="col-11 codeLine"><span class="comment">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*&nbsp;@return&nbsp;static</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="387" href="#387">387</a></td><td class="col-11 codeLine"><span class="comment">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*/</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="388" href="#388">388</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="comment">//&nbsp;phpcs:ignore&nbsp;Squiz.WhiteSpace.ScopeKeywordSpacing.Incorrect&nbsp;--&nbsp;Broken&nbsp;until&nbsp;3.6.0</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="389" href="#389">389</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="keyword">public</span><span class="default">&nbsp;</span><span class="keyword">function</span><span class="default">&nbsp;</span><span class="default">sort</span><span class="keyword">(</span><span class="default">int</span><span class="default">&nbsp;</span><span class="default">$flags</span><span class="default">&nbsp;</span><span class="keyword">=</span><span class="default">&nbsp;</span><span class="default">SORT_REGULAR</span><span class="keyword">)</span><span class="keyword">:</span><span class="default">&nbsp;</span><span class="keyword">static</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="390" href="#390">390</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="keyword">{</span></td></tr>
    <tr class="covered-by-large-tests popin d-flex"><td  data-title="6 tests cover line 391" data-content="&lt;ul&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::simpleSort with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::simpleSort with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::simpleSortTypedCollection with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::simpleSortTypedCollection with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::simpleSortTypedKeyCollection with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::simpleSortTypedKeyCollection with data set #1&lt;/li&gt;&lt;/ul&gt;" data-placement="top" data-html="true" class="col-1 text-right"><a id="391" href="#391">391</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="default">$data</span><span class="default">&nbsp;</span><span class="keyword">=</span><span class="default">&nbsp;</span><span class="default">$this</span><span class="default">-&gt;</span><span class="default">getArrayCopy</span><span class="keyword">(</span><span class="keyword">)</span><span class="keyword">;</span></td></tr>
    <tr class="covered-by-large-tests popin d-flex"><td  data-title="6 tests cover line 392" data-content="&lt;ul&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::simpleSort with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::simpleSort with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::simpleSortTypedCollection with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::simpleSortTypedCollection with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::simpleSortTypedKeyCollection with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::simpleSortTypedKeyCollection with data set #1&lt;/li&gt;&lt;/ul&gt;" data-placement="top" data-html="true" class="col-1 text-right"><a id="392" href="#392">392</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="keyword">if</span><span class="default">&nbsp;</span><span class="keyword">(</span><span class="default">$this</span><span class="default">-&gt;</span><span class="default">keyType</span><span class="keyword">)</span><span class="default">&nbsp;</span><span class="keyword">{</span></td></tr>
    <tr class="covered-by-large-tests popin d-flex"><td  data-title="2 tests cover line 393" data-content="&lt;ul&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::simpleSortTypedKeyCollection with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::simpleSortTypedKeyCollection with data set #1&lt;/li&gt;&lt;/ul&gt;" data-placement="top" data-html="true" class="col-1 text-right"><a id="393" href="#393">393</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="default">asort</span><span class="keyword">(</span><span class="default">$data</span><span class="keyword">,</span><span class="default">&nbsp;</span><span class="default">$flags</span><span class="keyword">)</span><span class="keyword">;</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="394" href="#394">394</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="keyword">}</span><span class="default">&nbsp;</span><span class="keyword">else</span><span class="default">&nbsp;</span><span class="keyword">{</span></td></tr>
    <tr class="covered-by-large-tests popin d-flex"><td  data-title="4 tests cover line 395" data-content="&lt;ul&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::simpleSort with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::simpleSort with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::simpleSortTypedCollection with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::simpleSortTypedCollection with data set #1&lt;/li&gt;&lt;/ul&gt;" data-placement="top" data-html="true" class="col-1 text-right"><a id="395" href="#395">395</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="default">sort</span><span class="keyword">(</span><span class="default">$data</span><span class="keyword">,</span><span class="default">&nbsp;</span><span class="default">$flags</span><span class="keyword">)</span><span class="keyword">;</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="396" href="#396">396</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="keyword">}</span></td></tr>
    <tr class="covered-by-large-tests popin d-flex"><td  data-title="6 tests cover line 397" data-content="&lt;ul&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::simpleSort with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::simpleSort with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::simpleSortTypedCollection with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::simpleSortTypedCollection with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::simpleSortTypedKeyCollection with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::simpleSortTypedKeyCollection with data set #1&lt;/li&gt;&lt;/ul&gt;" data-placement="top" data-html="true" class="col-1 text-right"><a id="397" href="#397">397</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="keyword">return</span><span class="default">&nbsp;</span><span class="default">$this</span><span class="default">-&gt;</span><span class="default">getNewInstance</span><span class="keyword">(</span><span class="default">$data</span><span class="keyword">)</span><span class="keyword">;</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="398" href="#398">398</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="keyword">}</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="399" href="#399">399</a></td><td class="col-11 codeLine"></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="400" href="#400">400</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="comment">/**</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="401" href="#401">401</a></td><td class="col-11 codeLine"><span class="comment">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*Get&nbsp;a&nbsp;New&nbsp;Collection&nbsp;With&nbsp;Contents&nbsp;Sorted&nbsp;By&nbsp;User&nbsp;Defined&nbsp;Callable</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="402" href="#402">402</a></td><td class="col-11 codeLine"><span class="comment">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="403" href="#403">403</a></td><td class="col-11 codeLine"><span class="comment">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*&nbsp;Functions&nbsp;the&nbsp;same&nbsp;as&nbsp;uasort()&nbsp;if&nbsp;index&nbsp;types&nbsp;are&nbsp;constrained</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="404" href="#404">404</a></td><td class="col-11 codeLine"><span class="comment">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="405" href="#405">405</a></td><td class="col-11 codeLine"><span class="comment">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*&nbsp;@param&nbsp;$callable</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="406" href="#406">406</a></td><td class="col-11 codeLine"><span class="comment">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*&nbsp;@return&nbsp;static</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="407" href="#407">407</a></td><td class="col-11 codeLine"><span class="comment">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*/</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="408" href="#408">408</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="comment">//&nbsp;phpcs:ignore&nbsp;Squiz.WhiteSpace.ScopeKeywordSpacing.Incorrect&nbsp;--&nbsp;Broken&nbsp;until&nbsp;3.6.0</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="409" href="#409">409</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="keyword">public</span><span class="default">&nbsp;</span><span class="keyword">function</span><span class="default">&nbsp;</span><span class="default">usort</span><span class="keyword">(</span><span class="keyword">callable</span><span class="default">&nbsp;</span><span class="default">$callable</span><span class="keyword">)</span><span class="keyword">:</span><span class="default">&nbsp;</span><span class="keyword">static</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="410" href="#410">410</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="keyword">{</span></td></tr>
    <tr class="covered-by-large-tests popin d-flex"><td  data-title="6 tests cover line 411" data-content="&lt;ul&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::userSort with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::userSort with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::userSortTypedCollection with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::userSortTypedCollection with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::userSortTypedKeyCollection with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::userSortTypedKeyCollection with data set #1&lt;/li&gt;&lt;/ul&gt;" data-placement="top" data-html="true" class="col-1 text-right"><a id="411" href="#411">411</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="default">$data</span><span class="default">&nbsp;</span><span class="keyword">=</span><span class="default">&nbsp;</span><span class="default">$this</span><span class="default">-&gt;</span><span class="default">getArrayCopy</span><span class="keyword">(</span><span class="keyword">)</span><span class="keyword">;</span></td></tr>
    <tr class="covered-by-large-tests popin d-flex"><td  data-title="6 tests cover line 412" data-content="&lt;ul&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::userSort with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::userSort with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::userSortTypedCollection with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::userSortTypedCollection with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::userSortTypedKeyCollection with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::userSortTypedKeyCollection with data set #1&lt;/li&gt;&lt;/ul&gt;" data-placement="top" data-html="true" class="col-1 text-right"><a id="412" href="#412">412</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="keyword">if</span><span class="default">&nbsp;</span><span class="keyword">(</span><span class="default">$this</span><span class="default">-&gt;</span><span class="default">keyType</span><span class="keyword">)</span><span class="default">&nbsp;</span><span class="keyword">{</span></td></tr>
    <tr class="covered-by-large-tests popin d-flex"><td  data-title="2 tests cover line 413" data-content="&lt;ul&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::userSortTypedKeyCollection with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::userSortTypedKeyCollection with data set #1&lt;/li&gt;&lt;/ul&gt;" data-placement="top" data-html="true" class="col-1 text-right"><a id="413" href="#413">413</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="default">uasort</span><span class="keyword">(</span><span class="default">$data</span><span class="keyword">,</span><span class="default">&nbsp;</span><span class="default">$callable</span><span class="keyword">)</span><span class="keyword">;</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="414" href="#414">414</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="keyword">}</span><span class="default">&nbsp;</span><span class="keyword">else</span><span class="default">&nbsp;</span><span class="keyword">{</span></td></tr>
    <tr class="covered-by-large-tests popin d-flex"><td  data-title="4 tests cover line 415" data-content="&lt;ul&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::userSort with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::userSort with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::userSortTypedCollection with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::userSortTypedCollection with data set #1&lt;/li&gt;&lt;/ul&gt;" data-placement="top" data-html="true" class="col-1 text-right"><a id="415" href="#415">415</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="default">usort</span><span class="keyword">(</span><span class="default">$data</span><span class="keyword">,</span><span class="default">&nbsp;</span><span class="default">$callable</span><span class="keyword">)</span><span class="keyword">;</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="416" href="#416">416</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="keyword">}</span></td></tr>
    <tr class="covered-by-large-tests popin d-flex"><td  data-title="6 tests cover line 417" data-content="&lt;ul&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::userSort with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::userSort with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::userSortTypedCollection with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::userSortTypedCollection with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::userSortTypedKeyCollection with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::userSortTypedKeyCollection with data set #1&lt;/li&gt;&lt;/ul&gt;" data-placement="top" data-html="true" class="col-1 text-right"><a id="417" href="#417">417</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="keyword">return</span><span class="default">&nbsp;</span><span class="default">$this</span><span class="default">-&gt;</span><span class="default">getNewInstance</span><span class="keyword">(</span><span class="default">$data</span><span class="keyword">)</span><span class="keyword">;</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="418" href="#418">418</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="keyword">}</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="419" href="#419">419</a></td><td class="col-11 codeLine"></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="420" href="#420">420</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="comment">/**</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="421" href="#421">421</a></td><td class="col-11 codeLine"><span class="comment">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*&nbsp;Get&nbsp;a&nbsp;New&nbsp;Collection&nbsp;With&nbsp;Contents&nbsp;Sorted,&nbsp;Maintaining&nbsp;Index&nbsp;Associations</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="422" href="#422">422</a></td><td class="col-11 codeLine"><span class="comment">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="423" href="#423">423</a></td><td class="col-11 codeLine"><span class="comment">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*&nbsp;@param&nbsp;int&nbsp;$flags</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="424" href="#424">424</a></td><td class="col-11 codeLine"><span class="comment">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*&nbsp;@return&nbsp;static</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="425" href="#425">425</a></td><td class="col-11 codeLine"><span class="comment">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*/</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="426" href="#426">426</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="comment">//&nbsp;phpcs:ignore&nbsp;Squiz.WhiteSpace.ScopeKeywordSpacing.Incorrect&nbsp;--&nbsp;Broken&nbsp;until&nbsp;3.6.0</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="427" href="#427">427</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="default">#[</span><span class="default">\ReturnTypeWillChange</span><span class="keyword">]</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="428" href="#428">428</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="keyword">public</span><span class="default">&nbsp;</span><span class="keyword">function</span><span class="default">&nbsp;</span><span class="default">asort</span><span class="keyword">(</span><span class="default">int</span><span class="default">&nbsp;</span><span class="default">$flags</span><span class="default">&nbsp;</span><span class="keyword">=</span><span class="default">&nbsp;</span><span class="default">SORT_REGULAR</span><span class="keyword">)</span><span class="keyword">:</span><span class="default">&nbsp;</span><span class="keyword">static</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="429" href="#429">429</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="keyword">{</span></td></tr>
    <tr class="covered-by-large-tests popin d-flex"><td  data-title="2 tests cover line 430" data-content="&lt;ul&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::simpleAsort with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::simpleAsort with data set #1&lt;/li&gt;&lt;/ul&gt;" data-placement="top" data-html="true" class="col-1 text-right"><a id="430" href="#430">430</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="default">$data</span><span class="default">&nbsp;</span><span class="keyword">=</span><span class="default">&nbsp;</span><span class="default">$this</span><span class="default">-&gt;</span><span class="default">getArrayCopy</span><span class="keyword">(</span><span class="keyword">)</span><span class="keyword">;</span></td></tr>
    <tr class="covered-by-large-tests popin d-flex"><td  data-title="2 tests cover line 431" data-content="&lt;ul&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::simpleAsort with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::simpleAsort with data set #1&lt;/li&gt;&lt;/ul&gt;" data-placement="top" data-html="true" class="col-1 text-right"><a id="431" href="#431">431</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="default">asort</span><span class="keyword">(</span><span class="default">$data</span><span class="keyword">,</span><span class="default">&nbsp;</span><span class="default">$flags</span><span class="keyword">)</span><span class="keyword">;</span></td></tr>
    <tr class="covered-by-large-tests popin d-flex"><td  data-title="2 tests cover line 432" data-content="&lt;ul&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::simpleAsort with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::simpleAsort with data set #1&lt;/li&gt;&lt;/ul&gt;" data-placement="top" data-html="true" class="col-1 text-right"><a id="432" href="#432">432</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="keyword">return</span><span class="default">&nbsp;</span><span class="default">$this</span><span class="default">-&gt;</span><span class="default">getNewInstance</span><span class="keyword">(</span><span class="default">$data</span><span class="keyword">)</span><span class="keyword">;</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="433" href="#433">433</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="keyword">}</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="434" href="#434">434</a></td><td class="col-11 codeLine"></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="435" href="#435">435</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="comment">/**</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="436" href="#436">436</a></td><td class="col-11 codeLine"><span class="comment">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*&nbsp;Get&nbsp;a&nbsp;New&nbsp;Collection&nbsp;With&nbsp;Contents&nbsp;Sorted,&nbsp;Maintaining&nbsp;Index&nbsp;Associations</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="437" href="#437">437</a></td><td class="col-11 codeLine"><span class="comment">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="438" href="#438">438</a></td><td class="col-11 codeLine"><span class="comment">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*&nbsp;@param&nbsp;callable&nbsp;$callable</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="439" href="#439">439</a></td><td class="col-11 codeLine"><span class="comment">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*&nbsp;@return&nbsp;static</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="440" href="#440">440</a></td><td class="col-11 codeLine"><span class="comment">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*/</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="441" href="#441">441</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="comment">//&nbsp;phpcs:ignore&nbsp;Squiz.WhiteSpace.ScopeKeywordSpacing.Incorrect&nbsp;--&nbsp;Broken&nbsp;until&nbsp;3.6.0</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="442" href="#442">442</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="default">#[</span><span class="default">\ReturnTypeWillChange</span><span class="keyword">]</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="443" href="#443">443</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="keyword">public</span><span class="default">&nbsp;</span><span class="keyword">function</span><span class="default">&nbsp;</span><span class="default">uasort</span><span class="keyword">(</span><span class="keyword">callable</span><span class="default">&nbsp;</span><span class="default">$callable</span><span class="keyword">)</span><span class="keyword">:</span><span class="default">&nbsp;</span><span class="keyword">static</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="444" href="#444">444</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="keyword">{</span></td></tr>
    <tr class="covered-by-large-tests popin d-flex"><td  data-title="2 tests cover line 445" data-content="&lt;ul&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::userAsort with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::userAsort with data set #1&lt;/li&gt;&lt;/ul&gt;" data-placement="top" data-html="true" class="col-1 text-right"><a id="445" href="#445">445</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="default">$data</span><span class="default">&nbsp;</span><span class="keyword">=</span><span class="default">&nbsp;</span><span class="default">$this</span><span class="default">-&gt;</span><span class="default">getArrayCopy</span><span class="keyword">(</span><span class="keyword">)</span><span class="keyword">;</span></td></tr>
    <tr class="covered-by-large-tests popin d-flex"><td  data-title="2 tests cover line 446" data-content="&lt;ul&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::userAsort with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::userAsort with data set #1&lt;/li&gt;&lt;/ul&gt;" data-placement="top" data-html="true" class="col-1 text-right"><a id="446" href="#446">446</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="default">uasort</span><span class="keyword">(</span><span class="default">$data</span><span class="keyword">,</span><span class="default">&nbsp;</span><span class="default">$callable</span><span class="keyword">)</span><span class="keyword">;</span></td></tr>
    <tr class="covered-by-large-tests popin d-flex"><td  data-title="2 tests cover line 447" data-content="&lt;ul&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::userAsort with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::userAsort with data set #1&lt;/li&gt;&lt;/ul&gt;" data-placement="top" data-html="true" class="col-1 text-right"><a id="447" href="#447">447</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="keyword">return</span><span class="default">&nbsp;</span><span class="default">$this</span><span class="default">-&gt;</span><span class="default">getNewInstance</span><span class="keyword">(</span><span class="default">$data</span><span class="keyword">)</span><span class="keyword">;</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="448" href="#448">448</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="keyword">}</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="449" href="#449">449</a></td><td class="col-11 codeLine"></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="450" href="#450">450</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="comment">/**</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="451" href="#451">451</a></td><td class="col-11 codeLine"><span class="comment">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*&nbsp;Get&nbsp;a&nbsp;New&nbsp;Collection&nbsp;With&nbsp;Contents&nbsp;Shuffled</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="452" href="#452">452</a></td><td class="col-11 codeLine"><span class="comment">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="453" href="#453">453</a></td><td class="col-11 codeLine"><span class="comment">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*&nbsp;@param&nbsp;$seed&nbsp;int|null</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="454" href="#454">454</a></td><td class="col-11 codeLine"><span class="comment">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*&nbsp;@return&nbsp;static</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="455" href="#455">455</a></td><td class="col-11 codeLine"><span class="comment">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*/</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="456" href="#456">456</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="comment">//&nbsp;phpcs:ignore&nbsp;Squiz.WhiteSpace.ScopeKeywordSpacing.Incorrect&nbsp;--&nbsp;Broken&nbsp;until&nbsp;3.6.0</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="457" href="#457">457</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="keyword">public</span><span class="default">&nbsp;</span><span class="keyword">function</span><span class="default">&nbsp;</span><span class="default">shuffle</span><span class="keyword">(</span><span class="default">int</span><span class="default">&nbsp;</span><span class="default">$seed</span><span class="default">&nbsp;</span><span class="keyword">=</span><span class="default">&nbsp;</span><span class="default">null</span><span class="keyword">)</span><span class="keyword">:</span><span class="default">&nbsp;</span><span class="keyword">static</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="458" href="#458">458</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="keyword">{</span></td></tr>
    <tr class="covered-by-large-tests popin d-flex"><td  data-title="4 tests cover line 459" data-content="&lt;ul&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::shuffle with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::shuffle with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::shuffleWithSeed with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::shuffleWithSeed with data set #1&lt;/li&gt;&lt;/ul&gt;" data-placement="top" data-html="true" class="col-1 text-right"><a id="459" href="#459">459</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="keyword">if</span><span class="default">&nbsp;</span><span class="keyword">(</span><span class="default">$seed</span><span class="default">&nbsp;</span><span class="default">!==</span><span class="default">&nbsp;</span><span class="default">null</span><span class="keyword">)</span><span class="default">&nbsp;</span><span class="keyword">{</span></td></tr>
    <tr class="covered-by-large-tests popin d-flex"><td  data-title="2 tests cover line 460" data-content="&lt;ul&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::shuffleWithSeed with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::shuffleWithSeed with data set #1&lt;/li&gt;&lt;/ul&gt;" data-placement="top" data-html="true" class="col-1 text-right"><a id="460" href="#460">460</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="default">mt_srand</span><span class="keyword">(</span><span class="default">$seed</span><span class="keyword">)</span><span class="keyword">;</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="461" href="#461">461</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="keyword">}</span></td></tr>
    <tr class="covered-by-large-tests popin d-flex"><td  data-title="4 tests cover line 462" data-content="&lt;ul&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::shuffle with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::shuffle with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::shuffleWithSeed with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::shuffleWithSeed with data set #1&lt;/li&gt;&lt;/ul&gt;" data-placement="top" data-html="true" class="col-1 text-right"><a id="462" href="#462">462</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="default">$data</span><span class="default">&nbsp;</span><span class="keyword">=</span><span class="default">&nbsp;</span><span class="default">$this</span><span class="default">-&gt;</span><span class="default">getArrayCopy</span><span class="keyword">(</span><span class="keyword">)</span><span class="keyword">;</span></td></tr>
    <tr class="covered-by-large-tests popin d-flex"><td  data-title="4 tests cover line 463" data-content="&lt;ul&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::shuffle with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::shuffle with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::shuffleWithSeed with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::shuffleWithSeed with data set #1&lt;/li&gt;&lt;/ul&gt;" data-placement="top" data-html="true" class="col-1 text-right"><a id="463" href="#463">463</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="default">shuffle</span><span class="keyword">(</span><span class="default">$data</span><span class="keyword">)</span><span class="keyword">;</span></td></tr>
    <tr class="covered-by-large-tests popin d-flex"><td  data-title="4 tests cover line 464" data-content="&lt;ul&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::shuffle with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::shuffle with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::shuffleWithSeed with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::shuffleWithSeed with data set #1&lt;/li&gt;&lt;/ul&gt;" data-placement="top" data-html="true" class="col-1 text-right"><a id="464" href="#464">464</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="keyword">return</span><span class="default">&nbsp;</span><span class="default">$this</span><span class="default">-&gt;</span><span class="default">getNewInstance</span><span class="keyword">(</span><span class="default">$data</span><span class="keyword">)</span><span class="keyword">;</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="465" href="#465">465</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="keyword">}</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="466" href="#466">466</a></td><td class="col-11 codeLine"></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="467" href="#467">467</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="comment">/**</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="468" href="#468">468</a></td><td class="col-11 codeLine"><span class="comment">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*&nbsp;Join&nbsp;collection&nbsp;elements&nbsp;together&nbsp;with&nbsp;a&nbsp;string</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="469" href="#469">469</a></td><td class="col-11 codeLine"><span class="comment">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="470" href="#470">470</a></td><td class="col-11 codeLine"><span class="comment">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*&nbsp;@param&nbsp;string&nbsp;$glue</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="471" href="#471">471</a></td><td class="col-11 codeLine"><span class="comment">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*&nbsp;@param&nbsp;callable|null&nbsp;$callable</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="472" href="#472">472</a></td><td class="col-11 codeLine"><span class="comment">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*&nbsp;@return&nbsp;string</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="473" href="#473">473</a></td><td class="col-11 codeLine"><span class="comment">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*/</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="474" href="#474">474</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="keyword">public</span><span class="default">&nbsp;</span><span class="keyword">function</span><span class="default">&nbsp;</span><span class="default">implode</span><span class="keyword">(</span><span class="default">$glue</span><span class="default">&nbsp;</span><span class="keyword">=</span><span class="default">&nbsp;</span><span class="default">''</span><span class="keyword">,</span><span class="default">&nbsp;</span><span class="keyword">callable</span><span class="default">&nbsp;</span><span class="default">$callable</span><span class="default">&nbsp;</span><span class="keyword">=</span><span class="default">&nbsp;</span><span class="default">null</span><span class="keyword">)</span><span class="keyword">:</span><span class="default">&nbsp;</span><span class="default">string</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="475" href="#475">475</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="keyword">{</span></td></tr>
    <tr class="covered-by-large-tests popin d-flex"><td  data-title="2 tests cover line 476" data-content="&lt;ul&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::itImplodesStrings&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::itImplodesObjects&lt;/li&gt;&lt;/ul&gt;" data-placement="top" data-html="true" class="col-1 text-right"><a id="476" href="#476">476</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="default">$array</span><span class="default">&nbsp;</span><span class="keyword">=</span><span class="default">&nbsp;</span><span class="default">$this</span><span class="default">-&gt;</span><span class="default">getArrayCopy</span><span class="keyword">(</span><span class="keyword">)</span><span class="keyword">;</span></td></tr>
    <tr class="covered-by-large-tests popin d-flex"><td  data-title="2 tests cover line 477" data-content="&lt;ul&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::itImplodesStrings&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::itImplodesObjects&lt;/li&gt;&lt;/ul&gt;" data-placement="top" data-html="true" class="col-1 text-right"><a id="477" href="#477">477</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="keyword">if</span><span class="default">&nbsp;</span><span class="keyword">(</span><span class="default">$callable</span><span class="keyword">)</span><span class="default">&nbsp;</span><span class="keyword">{</span></td></tr>
    <tr class="covered-by-large-tests popin d-flex"><td  data-title="1 test covers line 478" data-content="&lt;ul&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::itImplodesObjects&lt;/li&gt;&lt;/ul&gt;" data-placement="top" data-html="true" class="col-1 text-right"><a id="478" href="#478">478</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="default">$array</span><span class="default">&nbsp;</span><span class="keyword">=</span><span class="default">&nbsp;</span><span class="default">array_map</span><span class="keyword">(</span><span class="default">$callable</span><span class="keyword">,</span><span class="default">&nbsp;</span><span class="default">$array</span><span class="keyword">,</span><span class="default">&nbsp;</span><span class="default">array_keys</span><span class="keyword">(</span><span class="default">$array</span><span class="keyword">)</span><span class="keyword">)</span><span class="keyword">;</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="479" href="#479">479</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="keyword">}</span></td></tr>
    <tr class="covered-by-large-tests popin d-flex"><td  data-title="2 tests cover line 480" data-content="&lt;ul&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::itImplodesStrings&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::itImplodesObjects&lt;/li&gt;&lt;/ul&gt;" data-placement="top" data-html="true" class="col-1 text-right"><a id="480" href="#480">480</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="keyword">return</span><span class="default">&nbsp;</span><span class="default">implode</span><span class="keyword">(</span><span class="default">$glue</span><span class="keyword">,</span><span class="default">&nbsp;</span><span class="default">$array</span><span class="keyword">)</span><span class="keyword">;</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="481" href="#481">481</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="keyword">}</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="482" href="#482">482</a></td><td class="col-11 codeLine"></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="483" href="#483">483</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="comment">/**</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="484" href="#484">484</a></td><td class="col-11 codeLine"><span class="comment">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*&nbsp;Get&nbsp;a&nbsp;New&nbsp;Instance&nbsp;of&nbsp;the&nbsp;Same&nbsp;Type</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="485" href="#485">485</a></td><td class="col-11 codeLine"><span class="comment">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="486" href="#486">486</a></td><td class="col-11 codeLine"><span class="comment">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*&nbsp;@param&nbsp;$data</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="487" href="#487">487</a></td><td class="col-11 codeLine"><span class="comment">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*&nbsp;@return&nbsp;static</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="488" href="#488">488</a></td><td class="col-11 codeLine"><span class="comment">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*/</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="489" href="#489">489</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="comment">//&nbsp;phpcs:ignore&nbsp;Squiz.WhiteSpace.ScopeKeywordSpacing.Incorrect&nbsp;--&nbsp;Broken&nbsp;until&nbsp;3.6.0</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="490" href="#490">490</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="keyword">private</span><span class="default">&nbsp;</span><span class="keyword">function</span><span class="default">&nbsp;</span><span class="default">getNewInstance</span><span class="keyword">(</span><span class="default">$data</span><span class="keyword">)</span><span class="keyword">:</span><span class="default">&nbsp;</span><span class="keyword">static</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="491" href="#491">491</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="keyword">{</span></td></tr>
    <tr class="covered-by-large-tests popin d-flex"><td  data-title="35 tests cover line 492" data-content="&lt;ul&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::checkMapOfCollectionData with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::checkMapOfCollectionData with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::checkMapOfCollectionData with data set #2&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::checkMapOfCollectionData with data set #3&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::filterTheCollection with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::filterTheCollection with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::filterTheCollection with data set #2&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::filterTheCollection with data set #3&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::filterTheCollectionWithACallable with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::filterTheCollectionWithACallable with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::filterTheCollectionWithACallable with data set #2&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::filterTheCollectionWithACallable with data set #3&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::filterOutOddNumbers&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::getLastValueByCallback&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::simpleSort with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::simpleSort with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::userSort with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::userSort with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::simpleSortTypedCollection with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::simpleSortTypedCollection with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::userSortTypedCollection with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::userSortTypedCollection with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::simpleSortTypedKeyCollection with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::simpleSortTypedKeyCollection with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::userSortTypedKeyCollection with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::userSortTypedKeyCollection with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::simpleAsort with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::simpleAsort with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::userAsort with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::userAsort with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::shuffle with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::shuffle with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::shuffleWithSeed with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::shuffleWithSeed with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::slice&lt;/li&gt;&lt;/ul&gt;" data-placement="top" data-html="true" class="col-1 text-right"><a id="492" href="#492">492</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="default">$reflection</span><span class="default">&nbsp;</span><span class="keyword">=</span><span class="default">&nbsp;</span><span class="keyword">new</span><span class="default">&nbsp;</span><span class="default">ReflectionClass</span><span class="keyword">(</span><span class="default">$this</span><span class="keyword">)</span><span class="keyword">;</span></td></tr>
    <tr class="covered-by-large-tests popin d-flex"><td  data-title="35 tests cover line 493" data-content="&lt;ul&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::checkMapOfCollectionData with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::checkMapOfCollectionData with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::checkMapOfCollectionData with data set #2&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::checkMapOfCollectionData with data set #3&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::filterTheCollection with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::filterTheCollection with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::filterTheCollection with data set #2&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::filterTheCollection with data set #3&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::filterTheCollectionWithACallable with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::filterTheCollectionWithACallable with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::filterTheCollectionWithACallable with data set #2&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::filterTheCollectionWithACallable with data set #3&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::filterOutOddNumbers&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::getLastValueByCallback&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::simpleSort with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::simpleSort with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::userSort with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::userSort with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::simpleSortTypedCollection with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::simpleSortTypedCollection with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::userSortTypedCollection with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::userSortTypedCollection with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::simpleSortTypedKeyCollection with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::simpleSortTypedKeyCollection with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::userSortTypedKeyCollection with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::userSortTypedKeyCollection with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::simpleAsort with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::simpleAsort with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::userAsort with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::userAsort with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::shuffle with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::shuffle with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::shuffleWithSeed with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::shuffleWithSeed with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::slice&lt;/li&gt;&lt;/ul&gt;" data-placement="top" data-html="true" class="col-1 text-right"><a id="493" href="#493">493</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="keyword">if</span><span class="default">&nbsp;</span><span class="keyword">(</span><span class="default">$reflection</span><span class="default">-&gt;</span><span class="default">isAnonymous</span><span class="keyword">(</span><span class="keyword">)</span><span class="keyword">)</span><span class="default">&nbsp;</span><span class="keyword">{</span></td></tr>
    <tr class="covered-by-large-tests popin d-flex"><td  data-title="8 tests cover line 494" data-content="&lt;ul&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::simpleSortTypedCollection with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::simpleSortTypedCollection with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::userSortTypedCollection with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::userSortTypedCollection with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::simpleSortTypedKeyCollection with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::simpleSortTypedKeyCollection with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::userSortTypedKeyCollection with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::userSortTypedKeyCollection with data set #1&lt;/li&gt;&lt;/ul&gt;" data-placement="top" data-html="true" class="col-1 text-right"><a id="494" href="#494">494</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="keyword">return</span><span class="default">&nbsp;</span><span class="default">self</span><span class="default">::</span><span class="default">getTypedCollection</span><span class="keyword">(</span><span class="default">$data</span><span class="keyword">,</span><span class="default">&nbsp;</span><span class="default">$this</span><span class="default">-&gt;</span><span class="default">keyType</span><span class="keyword">,</span><span class="default">&nbsp;</span><span class="default">$this</span><span class="default">-&gt;</span><span class="default">valueType</span><span class="keyword">)</span><span class="keyword">;</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="495" href="#495">495</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="keyword">}</span></td></tr>
    <tr class="covered-by-large-tests popin d-flex"><td  data-title="27 tests cover line 496" data-content="&lt;ul&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::checkMapOfCollectionData with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::checkMapOfCollectionData with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::checkMapOfCollectionData with data set #2&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::checkMapOfCollectionData with data set #3&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::filterTheCollection with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::filterTheCollection with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::filterTheCollection with data set #2&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::filterTheCollection with data set #3&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::filterTheCollectionWithACallable with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::filterTheCollectionWithACallable with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::filterTheCollectionWithACallable with data set #2&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::filterTheCollectionWithACallable with data set #3&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::filterOutOddNumbers&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::getLastValueByCallback&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::simpleSort with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::simpleSort with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::userSort with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::userSort with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::simpleAsort with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::simpleAsort with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::userAsort with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::userAsort with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::shuffle with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::shuffle with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::shuffleWithSeed with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::shuffleWithSeed with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::slice&lt;/li&gt;&lt;/ul&gt;" data-placement="top" data-html="true" class="col-1 text-right"><a id="496" href="#496">496</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="keyword">return</span><span class="default">&nbsp;</span><span class="keyword">new</span><span class="default">&nbsp;</span><span class="keyword">static</span><span class="keyword">(</span><span class="default">$data</span><span class="keyword">)</span><span class="keyword">;</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="497" href="#497">497</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="keyword">}</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="498" href="#498">498</a></td><td class="col-11 codeLine"></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="499" href="#499">499</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="comment">/**</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="500" href="#500">500</a></td><td class="col-11 codeLine"><span class="comment">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*&nbsp;Get&nbsp;a&nbsp;Strict&nbsp;Typed&nbsp;Collection</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="501" href="#501">501</a></td><td class="col-11 codeLine"><span class="comment">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="502" href="#502">502</a></td><td class="col-11 codeLine"><span class="comment">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*&nbsp;Set&nbsp;the&nbsp;key&nbsp;and&nbsp;value&nbsp;types&nbsp;to&nbsp;enforce&nbsp;strict&nbsp;types&nbsp;within&nbsp;the&nbsp;collection</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="503" href="#503">503</a></td><td class="col-11 codeLine"><span class="comment">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="504" href="#504">504</a></td><td class="col-11 codeLine"><span class="comment">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*&nbsp;@param&nbsp;mixed&nbsp;$data</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="505" href="#505">505</a></td><td class="col-11 codeLine"><span class="comment">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*&nbsp;@param&nbsp;?string&nbsp;$keyType</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="506" href="#506">506</a></td><td class="col-11 codeLine"><span class="comment">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*&nbsp;@param&nbsp;?string&nbsp;$valueType</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="507" href="#507">507</a></td><td class="col-11 codeLine"><span class="comment">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*&nbsp;@return&nbsp;self</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="508" href="#508">508</a></td><td class="col-11 codeLine"><span class="comment">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*/</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="509" href="#509">509</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="keyword">private</span><span class="default">&nbsp;</span><span class="keyword">static</span><span class="default">&nbsp;</span><span class="keyword">function</span><span class="default">&nbsp;</span><span class="default">getTypedCollection</span><span class="keyword">(</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="510" href="#510">510</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="default">mixed</span><span class="default">&nbsp;</span><span class="default">$data</span><span class="keyword">,</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="511" href="#511">511</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="keyword">?</span><span class="default">string</span><span class="default">&nbsp;</span><span class="default">$keyType</span><span class="default">&nbsp;</span><span class="keyword">=</span><span class="default">&nbsp;</span><span class="default">null</span><span class="keyword">,</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="512" href="#512">512</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="keyword">?</span><span class="default">string</span><span class="default">&nbsp;</span><span class="default">$valueType</span><span class="default">&nbsp;</span><span class="keyword">=</span><span class="default">&nbsp;</span><span class="default">null</span><span class="keyword">,</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="513" href="#513">513</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="keyword">)</span><span class="keyword">:</span><span class="default">&nbsp;</span><span class="default">Collection</span><span class="default">&nbsp;</span><span class="keyword">{</span></td></tr>
    <tr class="covered-by-large-tests popin d-flex"><td  data-title="21 tests cover line 514" data-content="&lt;ul&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollections with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollections with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollections with data set #2&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollections with data set #3&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollectionsWithIncorrectTypes with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollectionsWithIncorrectTypes with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollectionsWithIncorrectTypes with data set #2&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollectionsWithIncorrectTypes with data set #3&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollectionsWithIncorrectTypes with data set #4&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollectionsWithIncorrectTypes with data set #5&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollectionsWithIncorrectTypes with data set #6&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollectionsWithIncorrectTypes with data set #7&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollectionsWithIncorrectTypes with data set #8&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::simpleSortTypedCollection with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::simpleSortTypedCollection with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::userSortTypedCollection with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::userSortTypedCollection with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::simpleSortTypedKeyCollection with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::simpleSortTypedKeyCollection with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::userSortTypedKeyCollection with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::userSortTypedKeyCollection with data set #1&lt;/li&gt;&lt;/ul&gt;" data-placement="top" data-html="true" class="col-1 text-right"><a id="514" href="#514">514</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="keyword">return</span><span class="default">&nbsp;</span><span class="keyword">new</span><span class="default">&nbsp;</span><span class="keyword">class</span><span class="default">&nbsp;</span><span class="keyword">(</span><span class="default">$data</span><span class="keyword">,</span><span class="default">&nbsp;</span><span class="default">$keyType</span><span class="keyword">,</span><span class="default">&nbsp;</span><span class="default">$valueType</span><span class="keyword">)</span><span class="default">&nbsp;</span><span class="keyword">extends</span><span class="default">&nbsp;</span><span class="default">Collection</span><span class="default">&nbsp;</span><span class="keyword">{</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="515" href="#515">515</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="keyword">public</span><span class="default">&nbsp;</span><span class="keyword">function</span><span class="default">&nbsp;</span><span class="default">__construct</span><span class="keyword">(</span><span class="default">$data</span><span class="keyword">,</span><span class="default">&nbsp;</span><span class="default">$keyType</span><span class="keyword">,</span><span class="default">&nbsp;</span><span class="default">$valueType</span><span class="keyword">)</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="516" href="#516">516</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="keyword">{</span></td></tr>
    <tr class="covered-by-large-tests popin d-flex"><td  data-title="21 tests cover line 517" data-content="&lt;ul&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollections with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollections with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollections with data set #2&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollections with data set #3&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollectionsWithIncorrectTypes with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollectionsWithIncorrectTypes with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollectionsWithIncorrectTypes with data set #2&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollectionsWithIncorrectTypes with data set #3&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollectionsWithIncorrectTypes with data set #4&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollectionsWithIncorrectTypes with data set #5&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollectionsWithIncorrectTypes with data set #6&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollectionsWithIncorrectTypes with data set #7&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollectionsWithIncorrectTypes with data set #8&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::simpleSortTypedCollection with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::simpleSortTypedCollection with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::userSortTypedCollection with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::userSortTypedCollection with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::simpleSortTypedKeyCollection with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::simpleSortTypedKeyCollection with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::userSortTypedKeyCollection with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::userSortTypedKeyCollection with data set #1&lt;/li&gt;&lt;/ul&gt;" data-placement="top" data-html="true" class="col-1 text-right"><a id="517" href="#517">517</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="default">$this</span><span class="default">-&gt;</span><span class="default">keyType</span><span class="default">&nbsp;</span><span class="keyword">=</span><span class="default">&nbsp;</span><span class="default">$keyType</span><span class="keyword">;</span></td></tr>
    <tr class="covered-by-large-tests popin d-flex"><td  data-title="21 tests cover line 518" data-content="&lt;ul&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollections with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollections with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollections with data set #2&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollections with data set #3&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollectionsWithIncorrectTypes with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollectionsWithIncorrectTypes with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollectionsWithIncorrectTypes with data set #2&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollectionsWithIncorrectTypes with data set #3&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollectionsWithIncorrectTypes with data set #4&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollectionsWithIncorrectTypes with data set #5&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollectionsWithIncorrectTypes with data set #6&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollectionsWithIncorrectTypes with data set #7&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollectionsWithIncorrectTypes with data set #8&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::simpleSortTypedCollection with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::simpleSortTypedCollection with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::userSortTypedCollection with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::userSortTypedCollection with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::simpleSortTypedKeyCollection with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::simpleSortTypedKeyCollection with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::userSortTypedKeyCollection with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::userSortTypedKeyCollection with data set #1&lt;/li&gt;&lt;/ul&gt;" data-placement="top" data-html="true" class="col-1 text-right"><a id="518" href="#518">518</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="default">$this</span><span class="default">-&gt;</span><span class="default">valueType</span><span class="default">&nbsp;</span><span class="keyword">=</span><span class="default">&nbsp;</span><span class="default">$valueType</span><span class="keyword">;</span></td></tr>
    <tr class="covered-by-large-tests popin d-flex"><td  data-title="21 tests cover line 519" data-content="&lt;ul&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollections with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollections with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollections with data set #2&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollections with data set #3&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollectionsWithIncorrectTypes with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollectionsWithIncorrectTypes with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollectionsWithIncorrectTypes with data set #2&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollectionsWithIncorrectTypes with data set #3&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollectionsWithIncorrectTypes with data set #4&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollectionsWithIncorrectTypes with data set #5&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollectionsWithIncorrectTypes with data set #6&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollectionsWithIncorrectTypes with data set #7&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollectionsWithIncorrectTypes with data set #8&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::simpleSortTypedCollection with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::simpleSortTypedCollection with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::userSortTypedCollection with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::userSortTypedCollection with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::simpleSortTypedKeyCollection with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::simpleSortTypedKeyCollection with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::userSortTypedKeyCollection with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::userSortTypedKeyCollection with data set #1&lt;/li&gt;&lt;/ul&gt;" data-placement="top" data-html="true" class="col-1 text-right"><a id="519" href="#519">519</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="default">parent</span><span class="default">::</span><span class="default">__construct</span><span class="keyword">(</span><span class="default">$data</span><span class="keyword">)</span><span class="keyword">;</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="520" href="#520">520</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="keyword">}</span></td></tr>
    <tr class="covered-by-large-tests popin d-flex"><td  data-title="21 tests cover line 521" data-content="&lt;ul&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollections with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollections with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollections with data set #2&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollections with data set #3&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollectionsWithIncorrectTypes with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollectionsWithIncorrectTypes with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollectionsWithIncorrectTypes with data set #2&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollectionsWithIncorrectTypes with data set #3&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollectionsWithIncorrectTypes with data set #4&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollectionsWithIncorrectTypes with data set #5&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollectionsWithIncorrectTypes with data set #6&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollectionsWithIncorrectTypes with data set #7&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollectionsWithIncorrectTypes with data set #8&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::simpleSortTypedCollection with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::simpleSortTypedCollection with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::userSortTypedCollection with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::userSortTypedCollection with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::simpleSortTypedKeyCollection with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::simpleSortTypedKeyCollection with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::userSortTypedKeyCollection with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::userSortTypedKeyCollection with data set #1&lt;/li&gt;&lt;/ul&gt;" data-placement="top" data-html="true" class="col-1 text-right"><a id="521" href="#521">521</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="keyword">}</span><span class="keyword">;</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="522" href="#522">522</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="keyword">}</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="523" href="#523">523</a></td><td class="col-11 codeLine"></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="524" href="#524">524</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="comment">/**</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="525" href="#525">525</a></td><td class="col-11 codeLine"><span class="comment">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*&nbsp;Get&nbsp;a&nbsp;New&nbsp;Anonymous&nbsp;Typed&nbsp;Value&nbsp;Collection</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="526" href="#526">526</a></td><td class="col-11 codeLine"><span class="comment">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="527" href="#527">527</a></td><td class="col-11 codeLine"><span class="comment">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*&nbsp;@param&nbsp;string&nbsp;$valueType&nbsp;The&nbsp;type&nbsp;that&nbsp;all&nbsp;values&nbsp;must&nbsp;match</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="528" href="#528">528</a></td><td class="col-11 codeLine"><span class="comment">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*&nbsp;@param&nbsp;mixed&nbsp;$data</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="529" href="#529">529</a></td><td class="col-11 codeLine"><span class="comment">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*&nbsp;@return&nbsp;self</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="530" href="#530">530</a></td><td class="col-11 codeLine"><span class="comment">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*/</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="531" href="#531">531</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="comment">//&nbsp;phpcs:ignore&nbsp;PSR12.Operators.OperatorSpacing.NoSpaceAfter,&nbsp;PSR12.Operators.OperatorSpacing.NoSpaceBefore&nbsp;--&nbsp;Broken&nbsp;until&nbsp;3.6.0</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="532" href="#532">532</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="keyword">public</span><span class="default">&nbsp;</span><span class="keyword">static</span><span class="default">&nbsp;</span><span class="keyword">function</span><span class="default">&nbsp;</span><span class="default">newTypedValueCollection</span><span class="keyword">(</span><span class="default">string</span><span class="default">&nbsp;</span><span class="default">$valueType</span><span class="keyword">,</span><span class="default">&nbsp;</span><span class="default">mixed</span><span class="default">&nbsp;</span><span class="default">$data</span><span class="default">&nbsp;</span><span class="keyword">=</span><span class="default">&nbsp;</span><span class="keyword">[</span><span class="keyword">]</span><span class="keyword">)</span><span class="keyword">:</span><span class="default">&nbsp;</span><span class="default">Collection</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="533" href="#533">533</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="keyword">{</span></td></tr>
    <tr class="covered-by-large-tests popin d-flex"><td  data-title="4 tests cover line 534" data-content="&lt;ul&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::simpleSortTypedCollection with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::simpleSortTypedCollection with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::userSortTypedCollection with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::userSortTypedCollection with data set #1&lt;/li&gt;&lt;/ul&gt;" data-placement="top" data-html="true" class="col-1 text-right"><a id="534" href="#534">534</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="keyword">return</span><span class="default">&nbsp;</span><span class="default">self</span><span class="default">::</span><span class="default">getTypedCollection</span><span class="keyword">(</span><span class="default">$data</span><span class="keyword">,</span><span class="default">&nbsp;</span><span class="default">null</span><span class="keyword">,</span><span class="default">&nbsp;</span><span class="default">$valueType</span><span class="keyword">)</span><span class="keyword">;</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="535" href="#535">535</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="keyword">}</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="536" href="#536">536</a></td><td class="col-11 codeLine"></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="537" href="#537">537</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="comment">/**</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="538" href="#538">538</a></td><td class="col-11 codeLine"><span class="comment">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*&nbsp;Get&nbsp;a&nbsp;New&nbsp;Anonymous&nbsp;Typed&nbsp;Key&nbsp;Collection</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="539" href="#539">539</a></td><td class="col-11 codeLine"><span class="comment">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="540" href="#540">540</a></td><td class="col-11 codeLine"><span class="comment">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*&nbsp;@param&nbsp;string&nbsp;$keyType&nbsp;The&nbsp;type&nbsp;that&nbsp;all&nbsp;keys&nbsp;must&nbsp;match</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="541" href="#541">541</a></td><td class="col-11 codeLine"><span class="comment">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*&nbsp;@param&nbsp;mixed&nbsp;$data</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="542" href="#542">542</a></td><td class="col-11 codeLine"><span class="comment">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*&nbsp;@return&nbsp;self</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="543" href="#543">543</a></td><td class="col-11 codeLine"><span class="comment">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*/</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="544" href="#544">544</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="comment">//&nbsp;phpcs:ignore&nbsp;PSR12.Operators.OperatorSpacing.NoSpaceAfter,&nbsp;PSR12.Operators.OperatorSpacing.NoSpaceBefore&nbsp;--&nbsp;Broken&nbsp;until&nbsp;3.6.0</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="545" href="#545">545</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="keyword">public</span><span class="default">&nbsp;</span><span class="keyword">static</span><span class="default">&nbsp;</span><span class="keyword">function</span><span class="default">&nbsp;</span><span class="default">newTypedKeyCollection</span><span class="keyword">(</span><span class="default">string</span><span class="default">&nbsp;</span><span class="default">$keyType</span><span class="keyword">,</span><span class="default">&nbsp;</span><span class="default">mixed</span><span class="default">&nbsp;</span><span class="default">$data</span><span class="default">&nbsp;</span><span class="keyword">=</span><span class="default">&nbsp;</span><span class="keyword">[</span><span class="keyword">]</span><span class="keyword">)</span><span class="keyword">:</span><span class="default">&nbsp;</span><span class="default">Collection</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="546" href="#546">546</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="keyword">{</span></td></tr>
    <tr class="covered-by-large-tests popin d-flex"><td  data-title="4 tests cover line 547" data-content="&lt;ul&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::simpleSortTypedKeyCollection with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::simpleSortTypedKeyCollection with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::userSortTypedKeyCollection with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::userSortTypedKeyCollection with data set #1&lt;/li&gt;&lt;/ul&gt;" data-placement="top" data-html="true" class="col-1 text-right"><a id="547" href="#547">547</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="keyword">return</span><span class="default">&nbsp;</span><span class="default">self</span><span class="default">::</span><span class="default">getTypedCollection</span><span class="keyword">(</span><span class="default">$data</span><span class="keyword">,</span><span class="default">&nbsp;</span><span class="default">$keyType</span><span class="keyword">)</span><span class="keyword">;</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="548" href="#548">548</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="keyword">}</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="549" href="#549">549</a></td><td class="col-11 codeLine"></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="550" href="#550">550</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="comment">/**</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="551" href="#551">551</a></td><td class="col-11 codeLine"><span class="comment">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*&nbsp;Get&nbsp;a&nbsp;New&nbsp;Anonymous&nbsp;Typed&nbsp;Collection</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="552" href="#552">552</a></td><td class="col-11 codeLine"><span class="comment">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="553" href="#553">553</a></td><td class="col-11 codeLine"><span class="comment">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*&nbsp;@param&nbsp;?string&nbsp;$keyType&nbsp;The&nbsp;type&nbsp;that&nbsp;all&nbsp;keys&nbsp;must&nbsp;match</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="554" href="#554">554</a></td><td class="col-11 codeLine"><span class="comment">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*&nbsp;@param&nbsp;?string&nbsp;$valueType&nbsp;The&nbsp;type&nbsp;that&nbsp;all&nbsp;values&nbsp;must&nbsp;match</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="555" href="#555">555</a></td><td class="col-11 codeLine"><span class="comment">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*&nbsp;@param&nbsp;mixed&nbsp;$data</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="556" href="#556">556</a></td><td class="col-11 codeLine"><span class="comment">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*&nbsp;@return&nbsp;self</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="557" href="#557">557</a></td><td class="col-11 codeLine"><span class="comment">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*/</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="558" href="#558">558</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="keyword">public</span><span class="default">&nbsp;</span><span class="keyword">static</span><span class="default">&nbsp;</span><span class="keyword">function</span><span class="default">&nbsp;</span><span class="default">newTypedCollection</span><span class="keyword">(</span><span class="keyword">?</span><span class="default">string</span><span class="default">&nbsp;</span><span class="default">$keyType</span><span class="keyword">,</span><span class="default">&nbsp;</span><span class="keyword">?</span><span class="default">string</span><span class="default">&nbsp;</span><span class="default">$valueType</span><span class="keyword">,</span><span class="default">&nbsp;</span><span class="default">mixed</span><span class="default">&nbsp;</span><span class="default">$data</span><span class="default">&nbsp;</span><span class="keyword">=</span><span class="default">&nbsp;</span><span class="keyword">[</span><span class="keyword">]</span><span class="keyword">)</span><span class="keyword">:</span><span class="default">&nbsp;</span><span class="default">Collection</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="559" href="#559">559</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="keyword">{</span></td></tr>
    <tr class="covered-by-large-tests popin d-flex"><td  data-title="13 tests cover line 560" data-content="&lt;ul&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollections with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollections with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollections with data set #2&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollections with data set #3&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollectionsWithIncorrectTypes with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollectionsWithIncorrectTypes with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollectionsWithIncorrectTypes with data set #2&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollectionsWithIncorrectTypes with data set #3&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollectionsWithIncorrectTypes with data set #4&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollectionsWithIncorrectTypes with data set #5&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollectionsWithIncorrectTypes with data set #6&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollectionsWithIncorrectTypes with data set #7&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::typedCollectionsWithIncorrectTypes with data set #8&lt;/li&gt;&lt;/ul&gt;" data-placement="top" data-html="true" class="col-1 text-right"><a id="560" href="#560">560</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="keyword">return</span><span class="default">&nbsp;</span><span class="default">self</span><span class="default">::</span><span class="default">getTypedCollection</span><span class="keyword">(</span><span class="default">$data</span><span class="keyword">,</span><span class="default">&nbsp;</span><span class="default">$keyType</span><span class="keyword">,</span><span class="default">&nbsp;</span><span class="default">$valueType</span><span class="keyword">)</span><span class="keyword">;</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="561" href="#561">561</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="keyword">}</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="562" href="#562">562</a></td><td class="col-11 codeLine"></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="563" href="#563">563</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="comment">/**</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="564" href="#564">564</a></td><td class="col-11 codeLine"><span class="comment">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*&nbsp;Get&nbsp;a&nbsp;JSON&nbsp;Serializable&nbsp;Representation&nbsp;of&nbsp;this&nbsp;Collection</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="565" href="#565">565</a></td><td class="col-11 codeLine"><span class="comment">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*/</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="566" href="#566">566</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="keyword">public</span><span class="default">&nbsp;</span><span class="keyword">function</span><span class="default">&nbsp;</span><span class="default">jsonSerialize</span><span class="keyword">(</span><span class="keyword">)</span><span class="keyword">:</span><span class="default">&nbsp;</span><span class="keyword">array</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="567" href="#567">567</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="keyword">{</span></td></tr>
    <tr class="covered-by-large-tests popin d-flex"><td  data-title="5 tests cover line 568" data-content="&lt;ul&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::collectionWillJsonSerialize with data set #0&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::collectionWillJsonSerialize with data set #1&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::collectionWillJsonSerialize with data set #2&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::collectionWillJsonSerialize with data set #3&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::collectionWillJsonSerialize with data set #4&lt;/li&gt;&lt;/ul&gt;" data-placement="top" data-html="true" class="col-1 text-right"><a id="568" href="#568">568</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="keyword">return</span><span class="default">&nbsp;</span><span class="default">$this</span><span class="default">-&gt;</span><span class="default">getArrayCopy</span><span class="keyword">(</span><span class="keyword">)</span><span class="keyword">;</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="569" href="#569">569</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="keyword">}</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="570" href="#570">570</a></td><td class="col-11 codeLine"></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="571" href="#571">571</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="keyword">public</span><span class="default">&nbsp;</span><span class="keyword">function</span><span class="default">&nbsp;</span><span class="default">isEmpty</span><span class="keyword">(</span><span class="keyword">)</span><span class="keyword">:</span><span class="default">&nbsp;</span><span class="default">bool</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="572" href="#572">572</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="keyword">{</span></td></tr>
    <tr class="covered-by-large-tests popin d-flex"><td  data-title="2 tests cover line 573" data-content="&lt;ul&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::checkForEmptyCollection&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::checkForNonEmptyCollection&lt;/li&gt;&lt;/ul&gt;" data-placement="top" data-html="true" class="col-1 text-right"><a id="573" href="#573">573</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="keyword">return</span><span class="default">&nbsp;</span><span class="default">$this</span><span class="default">-&gt;</span><span class="default">count</span><span class="keyword">(</span><span class="keyword">)</span><span class="default">&nbsp;</span><span class="default">===</span><span class="default">&nbsp;</span><span class="default">0</span><span class="keyword">;</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="574" href="#574">574</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="keyword">}</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="575" href="#575">575</a></td><td class="col-11 codeLine"></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="576" href="#576">576</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="keyword">public</span><span class="default">&nbsp;</span><span class="keyword">function</span><span class="default">&nbsp;</span><span class="default">isNotEmpty</span><span class="keyword">(</span><span class="keyword">)</span><span class="keyword">:</span><span class="default">&nbsp;</span><span class="default">bool</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="577" href="#577">577</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="keyword">{</span></td></tr>
    <tr class="covered-by-large-tests popin d-flex"><td  data-title="2 tests cover line 578" data-content="&lt;ul&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::checkForEmptyCollection&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;tests\CollectionTest::checkForNonEmptyCollection&lt;/li&gt;&lt;/ul&gt;" data-placement="top" data-html="true" class="col-1 text-right"><a id="578" href="#578">578</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="keyword">return</span><span class="default">&nbsp;</span><span class="default">$this</span><span class="default">-&gt;</span><span class="default">count</span><span class="keyword">(</span><span class="keyword">)</span><span class="default">&nbsp;</span><span class="keyword">&gt;</span><span class="default">&nbsp;</span><span class="default">0</span><span class="keyword">;</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="579" href="#579">579</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="keyword">}</span></td></tr>
    <tr class=" d-flex"><td  class="col-1 text-right"><a id="580" href="#580">580</a></td><td class="col-11 codeLine"><span class="keyword">}</span></td></tr>

</tbody>
</table>


   <footer>
    <hr/>
    <h4>Legend</h4>
    <p><span class="legend covered-by-small-tests">Covered by small (and larger) tests</span><span class="legend covered-by-medium-tests">Covered by medium (and large) tests</span><span class="legend covered-by-large-tests">Covered by large tests (and tests of unknown size)</span><span class="legend not-covered">Not covered</span><span class="legend not-coverable">Not coverable</span></p>
    <p>
     <small>Generated by <a href="https://github.com/sebastianbergmann/php-code-coverage" target="_top">php-code-coverage 9.2.30</a> using <a href="https://secure.php.net/" target="_top">PHP 8.2.8</a> and <a href="https://phpunit.de/">PHPUnit 9.6.16</a> at Sat Jan 27 17:59:20 UTC 2024.</small>
    </p>
    <a title="Back to the top" id="toplink" href="#">
        <svg xmlns="http://www.w3.org/2000/svg" width="12" height="16" viewBox="0 0 12 16"><path fill-rule="evenodd" d="M12 11L6 5l-6 6h12z"/></svg>
    </a>
   </footer>
  </div>
  <script src="_js/jquery.min.js?v=9.2.30" type="text/javascript"></script>
  <script src="_js/popper.min.js?v=9.2.30" type="text/javascript"></script>
  <script src="_js/bootstrap.min.js?v=9.2.30" type="text/javascript"></script>
  <script src="_js/file.js?v=9.2.30" type="text/javascript"></script>
 </body>
</html>