Skip to content

Commit

Permalink
Review comment changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Ioannis committed Sep 19, 2025
1 parent babc1a0 commit 8e9b5ce
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
1 change: 0 additions & 1 deletion app/src/Controller/Component/RegistryAuthComponent.php
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@

namespace App\Controller\Component;

use App\Model\Entity;
use \App\Lib\Enum\AuthenticationEventEnum;
use \App\Lib\Enum\SuspendableStatusEnum;
use \App\Lib\Enum\TemplateableStatusEnum;
Expand Down
4 changes: 1 addition & 3 deletions app/src/View/Helper/FieldHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -104,9 +104,7 @@ public function calculateLabelAndDescription(string $fieldName): array
$label = null;

// First, try to autogenerate the field label (if we weren't given one).
$pluginDomain = (!empty($this->getPluginName())
? Inflector::underscore($this->getPluginName())
: null);
$pluginDomain = StringUtilities::pluginToTextDomain($this->getPluginName());

$modelName = $this->getModelName();
// We try to automagically determine if a description for the field exists by
Expand Down

0 comments on commit 8e9b5ce

Please sign in to comment.