Skip to content

Commit

Permalink
Run Cs-Fixer
Browse files Browse the repository at this point in the history
  • Loading branch information
TheCadien committed May 29, 2024
1 parent b88b78e commit ce66953
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Controller/RegistrationRuleItemController.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,9 @@
* Provides admin-api for registration-rule-items.
*
* @NamePrefix("sulu_community.")
*
* @RouteResource("registration-rule-item")
*/
*/
class RegistrationRuleItemController extends AbstractRestController implements ClassResourceInterface
{
use RequestParametersTrait;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ public function testFindBySender(): void
$entityManager->clear();

$items = \array_map(
function (RegistrationRuleItem $item) {
function(RegistrationRuleItem $item) {
return ['pattern' => $item->getPattern(), 'type' => $item->getType()];
},
$repository->findBySender('[email protected]')
Expand Down
2 changes: 1 addition & 1 deletion Tests/Unit/Entity/RegistrationRuleItemTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
namespace Sulu\Bundle\CommunityBundle\Tests\Unit\Entity;

use PHPUnit\Framework\TestCase;
use Sulu\Bundle\CommunityBundle\Entity\RegistrationRuleItem;
use Sulu\Bundle\CommunityBundle\Entity\InvalidTypeException;
use Sulu\Bundle\CommunityBundle\Entity\RegistrationRuleItem;

class RegistrationRuleItemTest extends TestCase
{
Expand Down

0 comments on commit ce66953

Please sign in to comment.