Skip to content

Commit

Permalink
Apply php-cs-fixer changes
Browse files Browse the repository at this point in the history
  • Loading branch information
alexz707 authored and github-actions[bot] committed May 23, 2024
1 parent b50882e commit d10bfa3
Show file tree
Hide file tree
Showing 3 changed files with 48 additions and 3 deletions.
16 changes: 15 additions & 1 deletion src/Tag/Hydrator/TagHydratorInterface.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,19 @@
<?php
declare(strict_types=1);

/**
* Pimcore
*
* This source file is available under two different licenses:
* - GNU General Public License version 3 (GPLv3)
* - Pimcore Commercial License (PCL)
* Full copyright and license information is available in
* LICENSE.md which is distributed with this source code.
*
* @copyright Copyright (c) Pimcore GmbH (http://www.pimcore.org)
* @license http://www.pimcore.org/license GPLv3 and PCL
*/

namespace Pimcore\Bundle\StudioBackendBundle\Tag\Hydrator;

use Pimcore\Bundle\StudioBackendBundle\Tag\Schema\Tag;
Expand All @@ -17,7 +30,8 @@ public function hydrateRecursive(ElementTag $tag): Tag;

/**
* @param array<int, ElementTag> $tags
*
* @return array<int, Tag>
*/
public function hydrateNestedList(array $tags): array;
}
}
18 changes: 17 additions & 1 deletion src/Tag/Repository/TagRepositoryInterface.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,19 @@
<?php
declare(strict_types=1);

/**
* Pimcore
*
* This source file is available under two different licenses:
* - GNU General Public License version 3 (GPLv3)
* - Pimcore Commercial License (PCL)
* Full copyright and license information is available in
* LICENSE.md which is distributed with this source code.
*
* @copyright Copyright (c) Pimcore GmbH (http://www.pimcore.org)
* @license http://www.pimcore.org/license GPLv3 and PCL
*/

namespace Pimcore\Bundle\StudioBackendBundle\Tag\Repository;

use Pimcore\Bundle\StudioBackendBundle\Tag\Request\CreateTagParameters;
Expand All @@ -15,7 +28,10 @@
interface TagRepositoryInterface
{
public function getTagById(int $id): Tag;

public function listTags(TagsParameters $parameters): TagListing;

public function addTag(CreateTagParameters $params): Tag;

public function updateTag(int $id, UpdateTagParameters $params): Tag;
}
}
17 changes: 16 additions & 1 deletion src/Tag/Service/TagServiceInterface.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,19 @@
<?php
declare(strict_types=1);

/**
* Pimcore
*
* This source file is available under two different licenses:
* - GNU General Public License version 3 (GPLv3)
* - Pimcore Commercial License (PCL)
* Full copyright and license information is available in
* LICENSE.md which is distributed with this source code.
*
* @copyright Copyright (c) Pimcore GmbH (http://www.pimcore.org)
* @license http://www.pimcore.org/license GPLv3 and PCL
*/

namespace Pimcore\Bundle\StudioBackendBundle\Tag\Service;

use Pimcore\Bundle\StudioBackendBundle\Tag\Request\CreateTagParameters;
Expand All @@ -13,6 +26,8 @@
interface TagServiceInterface
{
public function getTag(int $id): Tag;

public function listTags(TagsParameters $parameters): array;

public function createTag(CreateTagParameters $tag): Tag;
}
}

0 comments on commit d10bfa3

Please sign in to comment.