Skip to content

Commit

Permalink
Revert "fix: nullabe arrays of decoded ids were retrieved as [null] (#…
Browse files Browse the repository at this point in the history
…211)"

This reverts commit d6658de.
  • Loading branch information
Mohammad-Alavi committed Oct 1, 2024
1 parent e90ed76 commit 2d46ea0
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 41 deletions.
5 changes: 0 additions & 5 deletions src/Traits/HashIdTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -143,11 +143,6 @@ private function locateAndDecodeIds($requestData, $key): mixed
*/
private function processField($data, $keysTodo, $currentFieldName): mixed
{
// is the current field a null?! we can give it back and chill out
if(is_null($data)) {
return $data;
}

// check if there are no more fields to be processed
if (empty($keysTodo)) {
// there are no more keys left - so basically we need to decode this entry
Expand Down
36 changes: 0 additions & 36 deletions tests/Unit/Traits/HashIdTraitTest.php

This file was deleted.

0 comments on commit 2d46ea0

Please sign in to comment.