Skip to content

Commit

Permalink
Add 'public' keyword to new FieldHelper functions (CFM-218)
Browse files Browse the repository at this point in the history
  • Loading branch information
arlen committed Oct 21, 2025
1 parent 2238508 commit c02b883
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/src/View/Helper/FieldHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -702,7 +702,7 @@ public function getElementsForDisabledInput(string $element, array $formArgument
* @return bool
* @since COmanage Registry v5.2.0
*/
function includesFileField(array $array): bool {
public function includesFileField(array $array): bool {
foreach ($array as $subarray) {
if (is_array($subarray)
&& isset($subarray['type'])
Expand Down Expand Up @@ -731,7 +731,7 @@ function includesFileField(array $array): bool {
* @return array The reconstructed array of field arguments.
* @since COmanage Registry v5.2.0
*/
function restructureFieldArguments(array $fieldArgs) {
public function restructureFieldArguments(array $fieldArgs) {
$fieldOptions = [];

// Pull out the top-level field options that are intended for Cake, and
Expand Down

0 comments on commit c02b883

Please sign in to comment.