Skip to content

Commit

Permalink
Fix builds
Browse files Browse the repository at this point in the history
  • Loading branch information
jordisala1991 authored and github-actions[bot] committed Jun 2, 2023
1 parent 44c3491 commit 02032e0
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 83 deletions.
4 changes: 2 additions & 2 deletions src/Controller/CkeditorAdminController.php
Expand Up @@ -68,8 +68,8 @@ public function browserAction(Request $request): Response

$rootCategory = null;
if (
$this->container->has('sonata.media.manager.category') &&
$this->container->has('sonata.media.manager.context')
$this->container->has('sonata.media.manager.category')
&& $this->container->has('sonata.media.manager.context')
) {
$categoryManager = $this->container->get('sonata.media.manager.category');
\assert($categoryManager instanceof CategoryManagerInterface);
Expand Down
4 changes: 2 additions & 2 deletions src/Form/Type/FormatterType.php
Expand Up @@ -46,8 +46,8 @@ public function buildForm(FormBuilderInterface $builder, array $options): void
$sourceField = $options['source_field'];
\assert(\is_string($sourceField));

if (!isset($options['format_field_options']['empty_data']) ||
!\array_key_exists($options['format_field_options']['empty_data'], $this->pool->getFormatters())) {
if (!isset($options['format_field_options']['empty_data'])
|| !\array_key_exists($options['format_field_options']['empty_data'], $this->pool->getFormatters())) {
$options['format_field_options']['empty_data'] = $this->pool->getDefaultFormatter();
}

Expand Down
79 changes: 0 additions & 79 deletions tests/Resources/XliffTest.php

This file was deleted.

0 comments on commit 02032e0

Please sign in to comment.