Skip to content

Commit 8c4e6b4

Browse files
committed
Configure visibility on class constants
1 parent 309a7c9 commit 8c4e6b4

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

src/DependencyInjection/Compiler/ConfigSourcePass.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717

1818
class ConfigSourcePass implements CompilerPassInterface
1919
{
20-
const SOURCE_TYPE_INDEX_TEMPLATE = 'index_template';
20+
public const SOURCE_TYPE_INDEX_TEMPLATE = 'index_template';
2121

2222
/**
2323
* {@inheritdoc}

src/Doctrine/ORM/ElasticaToModelTransformer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
*/
2222
class ElasticaToModelTransformer extends AbstractElasticaToModelTransformer
2323
{
24-
const ENTITY_ALIAS = 'o';
24+
public const ENTITY_ALIAS = 'o';
2525

2626
/**
2727
* Fetch objects for theses identifier values.

src/Doctrine/ORMPagerProvider.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222

2323
final class ORMPagerProvider implements PagerProviderInterface
2424
{
25-
const ENTITY_ALIAS = 'a';
25+
public const ENTITY_ALIAS = 'a';
2626

2727
/**
2828
* @var string

src/Doctrine/PHPCRPagerProvider.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020

2121
final class PHPCRPagerProvider implements PagerProviderInterface
2222
{
23-
const ENTITY_ALIAS = 'a';
23+
public const ENTITY_ALIAS = 'a';
2424

2525
/**
2626
* @var string

0 commit comments

Comments
 (0)