Skip to content

Commit 54bf385

Browse files
committed
Fix CS
1 parent a54acbc commit 54bf385

File tree

37 files changed

+37
-37
lines changed

37 files changed

+37
-37
lines changed

tests/Gedmo/Blameable/Fixture/Document/Article.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ class Article
3838
/**
3939
* @ODM\ReferenceOne(targetDocument="Gedmo\Tests\Blameable\Fixture\Document\Type")
4040
*/
41-
#[Odm\ReferenceOne(targetDocument: Type::class)]
41+
#[ODM\ReferenceOne(targetDocument: Type::class)]
4242
private ?Type $type = null;
4343

4444
/**

tests/Gedmo/IpTraceable/Fixture/Document/Article.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ class Article
3939
* @ODM\ReferenceOne(targetDocument="Gedmo\Tests\IpTraceable\Fixture\Document\Type")
4040
*/
4141
#[ODM\ReferenceOne(targetDocument: Type::class)]
42-
private ?\Gedmo\Tests\IpTraceable\Fixture\Document\Type $type = null;
42+
private ?Type $type = null;
4343

4444
/**
4545
* @ODM\Field(type="string")

tests/Gedmo/Loggable/LoggableDocumentTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ final class LoggableDocumentTest extends BaseTestCaseMongoODM
3131
{
3232
private const ARTICLE = Article::class;
3333
private const COMMENT = Comment::class;
34-
private const COMMENT_LOG = \Gedmo\Tests\Loggable\Fixture\Document\Log\Comment::class;
34+
private const COMMENT_LOG = Fixture\Document\Log\Comment::class;
3535

3636
protected function setUp(): void
3737
{

tests/Gedmo/Loggable/LoggableEntityTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ abstract class LoggableEntityTest extends BaseTestCaseORM
3535
private const COMPOSITE = Composite::class;
3636
private const COMPOSITE_RELATION = CompositeRelation::class;
3737
private const RELATED_ARTICLE = RelatedArticle::class;
38-
private const COMMENT_LOG = \Gedmo\Tests\Loggable\Fixture\Entity\Log\Comment::class;
38+
private const COMMENT_LOG = Fixture\Entity\Log\Comment::class;
3939

4040
public function testShouldHandleClonedEntity(): void
4141
{

tests/Gedmo/Mapping/Fixture/Yaml/Category.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ class Category extends BaseCategory
3030
*/
3131
private $children;
3232

33-
private ?\Gedmo\Tests\Mapping\Fixture\Yaml\Category $parent = null;
33+
private ?Category $parent = null;
3434

3535
/**
3636
* @var \DateTime

tests/Gedmo/Mapping/Fixture/Yaml/ClosureCategory.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ class ClosureCategory
2828
*/
2929
private $children;
3030

31-
private ?\Gedmo\Tests\Mapping\Fixture\Yaml\ClosureCategory $parent = null;
31+
private ?ClosureCategory $parent = null;
3232

3333
private ?int $level = null;
3434

tests/Gedmo/Mapping/Fixture/Yaml/MaterializedPathCategory.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ class MaterializedPathCategory
3232
*/
3333
private $children;
3434

35-
private ?\Gedmo\Tests\Mapping\Fixture\Yaml\MaterializedPathCategory $parent = null;
35+
private ?MaterializedPathCategory $parent = null;
3636

3737
private ?\DateTime $lockTime = null;
3838

tests/Gedmo/ReferenceIntegrity/Fixture/Document/ManyNullify/Article.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ class Article
3838
* @ODM\ReferenceOne(targetDocument="Gedmo\Tests\ReferenceIntegrity\Fixture\Document\ManyNullify\Type", inversedBy="articles")
3939
*/
4040
#[ODM\ReferenceOne(targetDocument: Type::class, inversedBy: 'articles')]
41-
private ?\Gedmo\Tests\ReferenceIntegrity\Fixture\Document\ManyNullify\Type $type = null;
41+
private ?Type $type = null;
4242

4343
public function getId(): ?string
4444
{

tests/Gedmo/ReferenceIntegrity/Fixture/Document/ManyRestrict/Article.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ class Article
3838
* @ODM\ReferenceOne(targetDocument="Gedmo\Tests\ReferenceIntegrity\Fixture\Document\ManyRestrict\Type", inversedBy="articles")
3939
*/
4040
#[ODM\ReferenceOne(targetDocument: Type::class, inversedBy: 'articles')]
41-
private ?\Gedmo\Tests\ReferenceIntegrity\Fixture\Document\ManyRestrict\Type $type = null;
41+
private ?Type $type = null;
4242

4343
public function getId(): ?string
4444
{

tests/Gedmo/ReferenceIntegrity/Fixture/Document/OneNullify/Article.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ class Article
3838
* @ODM\ReferenceOne(targetDocument="Gedmo\Tests\ReferenceIntegrity\Fixture\Document\OneNullify\Type", inversedBy="articles")
3939
*/
4040
#[ODM\ReferenceOne(targetDocument: Type::class, inversedBy: 'articles')]
41-
private ?\Gedmo\Tests\ReferenceIntegrity\Fixture\Document\OneNullify\Type $type = null;
41+
private ?Type $type = null;
4242

4343
public function getId(): ?string
4444
{

0 commit comments

Comments
 (0)