Skip to content

Commit dd017d2

Browse files
committed
Moved public const declarations after use of traits
Ref: #3402 (comment)
1 parent 9fbf776 commit dd017d2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/JsonSchema/TypeFactory.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@
2727
*/
2828
final class TypeFactory implements TypeFactoryInterface
2929
{
30+
use ResourceClassInfoTrait;
31+
3032
/**
3133
* This constant is to be provided as serializer context key to conditionally enable types to be generated in
3234
* a format that is compatible with OpenAPI specifications **PREVIOUS** to 3.0.
@@ -40,8 +42,6 @@ final class TypeFactory implements TypeFactoryInterface
4042
*/
4143
public const CONTEXT_SERIALIZATION_FORMAT_OPENAPI_PRE_V3_0 = self::class.'::CONTEXT_SERIALIZATION_FORMAT_OPENAPI_PRE_V3_0';
4244

43-
use ResourceClassInfoTrait;
44-
4545
/**
4646
* @var SchemaFactoryInterface|null
4747
*/

0 commit comments

Comments
 (0)