Skip to content

Commit 362f72f

Browse files
committed
cs: fixes
1 parent 52c34c8 commit 362f72f

File tree

5 files changed

+4
-8
lines changed

5 files changed

+4
-8
lines changed

src/Api/CompositeIdentifierParser.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
* Normalizes a composite identifier.
1818
*
1919
* @author Antoine Bluchet <[email protected]>
20+
*
2021
* @deprecated
2122
*/
2223
final class CompositeIdentifierParser

src/Metadata/IriConverterInterface.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717
use ApiPlatform\Metadata\Exception\ItemNotFoundException;
1818
use ApiPlatform\Metadata\Exception\RuntimeException;
1919

20-
2120
/**
2221
* Converts item and resources to IRI and vice versa.
2322
*

src/Metadata/Util/CompositeIdentifierParser.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
* Normalizes a composite identifier.
1818
*
1919
* @internal
20+
*
2021
* @author Antoine Bluchet <[email protected]>
2122
*/
2223
final class CompositeIdentifierParser

src/Serializer/Tests/Fixtures/ApiResource/SecuredDummy.php

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -101,8 +101,6 @@ class SecuredDummy
101101

102102
/**
103103
* A dummy that only users can access. The security on RelatedSecuredDummy shouldn't be run.
104-
*
105-
* @var mixed
106104
*/
107105
#[ApiProperty(security: "is_granted('ROLE_USER')")]
108106
protected $relatedSecuredDummy;
@@ -114,8 +112,6 @@ class SecuredDummy
114112

115113
/**
116114
* A dummy that anyone can access. There is no ApiProperty security, and the security on RelatedSecuredDummy shouldn't be run.
117-
*
118-
* @var mixed
119115
*/
120116
protected $publicRelatedSecuredDummy;
121117

@@ -180,5 +176,4 @@ public function setOwner(string $owner): void
180176
{
181177
$this->owner = $owner;
182178
}
183-
184179
}

src/State/UriVariablesResolverTrait.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@
1313

1414
namespace ApiPlatform\State;
1515

16-
use ApiPlatform\Metadata\Util\CompositeIdentifierParser;
17-
use ApiPlatform\Metadata\UriVariablesConverterInterface;
1816
use ApiPlatform\Metadata\Exception\InvalidIdentifierException;
1917
use ApiPlatform\Metadata\HttpOperation;
18+
use ApiPlatform\Metadata\UriVariablesConverterInterface;
19+
use ApiPlatform\Metadata\Util\CompositeIdentifierParser;
2020

2121
trait UriVariablesResolverTrait
2222
{

0 commit comments

Comments
 (0)