Skip to content

Commit

Permalink
clean up code
Browse files Browse the repository at this point in the history
  • Loading branch information
kevindees committed Oct 20, 2023
1 parent 7c47d5b commit c9725c3
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/Utility/Data.php
Original file line number Diff line number Diff line change
Expand Up @@ -314,8 +314,6 @@ public static function cast($value, $type)
$value = (object) unserialize($value);
} elseif(!is_string($value)) {
$value = (object) $value;
} elseif (is_array($value)) {
$value = (object) $value;
} elseif (trim($value) == '""') {
$value = null;
}
Expand Down

0 comments on commit c9725c3

Please sign in to comment.