Skip to content

Commit

Permalink
Follow conventions
Browse files Browse the repository at this point in the history
  • Loading branch information
mattamon committed Mar 4, 2024
1 parent 34966e4 commit 6ca6c50
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
7 changes: 6 additions & 1 deletion src/State/TranslationProcessor.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,12 @@ public function __construct(
) {
}

public function process(mixed $data, Operation $operation, array $uriVariables = [], array $context = []): Translation
public function process(
mixed $data,
Operation $operation,
array $uriVariables = [],
array $context = []
): Translation
{
if (
!$operation instanceof Post ||
Expand Down
4 changes: 3 additions & 1 deletion src/Util/Constants/PublicTranslations.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,10 @@
* @license http://www.pimcore.org/license PCL
*/

namespace Pimcore\Bundle\StudioApiBundle\Util\Constants;

final readonly class PublicTranslations {
public const KEYS = [
public const PUBLIC_KEYS = [
'username',
'password',
'login',
Expand Down

0 comments on commit 6ca6c50

Please sign in to comment.