Skip to content
/ form Public

Commit b8de1a8

Browse files
committedDec 8, 2020
Merge branch '5.1' into 5.2
* 5.1: Update .php_cs.dist Apply "visibility_required" CS rule to constants
2 parents dd053aa + 82fbd72 commit b8de1a8

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+69
-69
lines changed
 

‎AbstractRendererEngine.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ abstract class AbstractRendererEngine implements FormRendererEngineInterface
2121
/**
2222
* The variable in {@link FormView} used as cache key.
2323
*/
24-
const CACHE_KEY_VAR = 'cache_key';
24+
public const CACHE_KEY_VAR = 'cache_key';
2525

2626
protected $defaultThemes;
2727
protected $themes = [];

‎Extension/Core/DataTransformer/DateIntervalToArrayTransformer.php

+7-7
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,13 @@
2222
*/
2323
class DateIntervalToArrayTransformer implements DataTransformerInterface
2424
{
25-
const YEARS = 'years';
26-
const MONTHS = 'months';
27-
const DAYS = 'days';
28-
const HOURS = 'hours';
29-
const MINUTES = 'minutes';
30-
const SECONDS = 'seconds';
31-
const INVERT = 'invert';
25+
public const YEARS = 'years';
26+
public const MONTHS = 'months';
27+
public const DAYS = 'days';
28+
public const HOURS = 'hours';
29+
public const MINUTES = 'minutes';
30+
public const SECONDS = 'seconds';
31+
public const INVERT = 'invert';
3232

3333
private static $availableFields = [
3434
self::YEARS => 'y',

0 commit comments

Comments
 (0)