Skip to content

Commit

Permalink
Ignore specific error in Configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
rougin committed Nov 24, 2023
1 parent c620733 commit 305f0fa
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/Integration/Configuration.php
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,10 @@ public function get($key, $default = null)
/** @var string */
$index = $keys[(int) $i];

// TODO: Need to refactor ------
/** @phpstan-ignore-next-line */
$data = &$data[$index];
// -----------------------------
}

return $data !== null ? $data : $default;
Expand Down

0 comments on commit 305f0fa

Please sign in to comment.