Skip to content

Commit

Permalink
php stan
Browse files Browse the repository at this point in the history
  • Loading branch information
i-just committed Nov 17, 2023
1 parent e76d3c4 commit 217501c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/base/Field.php
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,7 @@ protected function populateElementFields($elementIds, $nodeKey = null)

// Arrayed content doesn't provide defaults because its unable to determine how many items it _should_ return
// This also checks if there was any data that corresponds on the same array index/level as our element
/** @phpstan-ignore-next-line */
$value = Hash::get($fieldValue, $nodeKey ?? $key, $default);

if ($value) {
Expand Down

0 comments on commit 217501c

Please sign in to comment.