Skip to content

Commit

Permalink
Fix namespace
Browse files Browse the repository at this point in the history
  • Loading branch information
Prokyonn committed Feb 8, 2023
1 parent c986650 commit 4ccc6e4
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 11 deletions.
8 changes: 4 additions & 4 deletions Content/Infrastructure/Sulu/Link/ContentLinkProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@
use Sulu\Bundle\ContentBundle\Content\Application\ContentManager\ContentManagerInterface;
use Sulu\Bundle\ContentBundle\Content\Domain\Model\ContentRichEntityInterface;
use Sulu\Bundle\ContentBundle\Content\Domain\Model\DimensionContentInterface;
use Sulu\Bundle\ContentBundle\Content\Infrastructure\Sulu\Trait\FindContentRichEntitiesTrait;
use Sulu\Bundle\ContentBundle\Content\Infrastructure\Sulu\Trait\ResolveContentDimensionUrlTrait;
use Sulu\Bundle\ContentBundle\Content\Infrastructure\Sulu\Trait\ResolveContentTrait;
use Sulu\Bundle\ContentBundle\Content\Infrastructure\Sulu\Traits\FindContentRichEntitiesTrait;
use Sulu\Bundle\ContentBundle\Content\Infrastructure\Sulu\Traits\ResolveContentDimensionUrlTrait;
use Sulu\Bundle\ContentBundle\Content\Infrastructure\Sulu\Traits\ResolveContentTrait;
use Sulu\Bundle\MarkupBundle\Markup\Link\LinkItem;
use Sulu\Bundle\MarkupBundle\Markup\Link\LinkProviderInterface;
use Sulu\Component\Content\Metadata\Factory\StructureMetadataFactoryInterface;
Expand All @@ -42,7 +42,7 @@ public function __construct(
ContentManagerInterface $contentManager,
StructureMetadataFactoryInterface $structureMetadataFactory,
EntityManagerInterface $entityManager,
string $contentRichEntityClass,
string $contentRichEntityClass
) {
$this->contentManager = $contentManager;
$this->structureMetadataFactory = $structureMetadataFactory;
Expand Down
6 changes: 3 additions & 3 deletions Content/Infrastructure/Sulu/Teaser/ContentTeaserProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@
use Sulu\Bundle\ContentBundle\Content\Domain\Model\ContentRichEntityInterface;
use Sulu\Bundle\ContentBundle\Content\Domain\Model\DimensionContentInterface;
use Sulu\Bundle\ContentBundle\Content\Domain\Model\ExcerptInterface;
use Sulu\Bundle\ContentBundle\Content\Infrastructure\Sulu\Trait\FindContentRichEntitiesTrait;
use Sulu\Bundle\ContentBundle\Content\Infrastructure\Sulu\Trait\ResolveContentDimensionUrlTrait;
use Sulu\Bundle\ContentBundle\Content\Infrastructure\Sulu\Trait\ResolveContentTrait;
use Sulu\Bundle\ContentBundle\Content\Infrastructure\Sulu\Traits\FindContentRichEntitiesTrait;
use Sulu\Bundle\ContentBundle\Content\Infrastructure\Sulu\Traits\ResolveContentDimensionUrlTrait;
use Sulu\Bundle\ContentBundle\Content\Infrastructure\Sulu\Traits\ResolveContentTrait;
use Sulu\Bundle\PageBundle\Teaser\Provider\TeaserProviderInterface;
use Sulu\Bundle\PageBundle\Teaser\Teaser;
use Sulu\Component\Content\Metadata\Factory\StructureMetadataFactoryInterface;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
* with this source code in the file LICENSE.
*/

namespace Sulu\Bundle\ContentBundle\Content\Infrastructure\Sulu\Trait;
namespace Sulu\Bundle\ContentBundle\Content\Infrastructure\Sulu\Traits;

use Doctrine\ORM\EntityManagerInterface;
use Sulu\Bundle\ContentBundle\Content\Application\ContentWorkflow\ContentWorkflowInterface;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
* with this source code in the file LICENSE.
*/

namespace Sulu\Bundle\ContentBundle\Content\Infrastructure\Sulu\Trait;
namespace Sulu\Bundle\ContentBundle\Content\Infrastructure\Sulu\Traits;

use Sulu\Bundle\ContentBundle\Content\Domain\Model\DimensionContentInterface;
use Sulu\Bundle\ContentBundle\Content\Domain\Model\TemplateInterface;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
* with this source code in the file LICENSE.
*/

namespace Sulu\Bundle\ContentBundle\Content\Infrastructure\Sulu\Trait;
namespace Sulu\Bundle\ContentBundle\Content\Infrastructure\Sulu\Traits;

use Sulu\Bundle\ContentBundle\Content\Application\ContentManager\ContentManagerInterface;
use Sulu\Bundle\ContentBundle\Content\Domain\Exception\ContentNotFoundException;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,11 @@ class ContentLinkProviderTest extends WebsiteTestCase
{
use AssertSnapshotTrait;
use CreateExampleTrait;
private ExampleLinkProvider $exampleLinkProvider;

/**
* @var ExampleLinkProvider
*/
private $exampleLinkProvider;

/**
* @var mixed[]
Expand Down

0 comments on commit 4ccc6e4

Please sign in to comment.