Skip to content

Commit d14359a

Browse files
GuilhemNnicolas-grekas
authored andcommitted
[Debug] Trigger a deprecation when using an internal class/trait/interface
1 parent a1b56ef commit d14359a

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

ChoiceList/ArrayChoiceList.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ public function getValuesForChoices(array $choices)
185185
* corresponding values
186186
* @param array $structuredValues The values indexed by the original keys
187187
*
188-
* @internal Must not be used by user-land code
188+
* @internal
189189
*/
190190
protected function flatten(array $choices, $value, &$choicesByValues, &$keysByValues, &$structuredValues)
191191
{

ChoiceList/Factory/CachingFactoryDecorator.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ class CachingFactoryDecorator implements ChoiceListFactoryInterface
4848
*
4949
* @return string The SHA-256 hash
5050
*
51-
* @internal Should not be used by user-land code.
51+
* @internal
5252
*/
5353
public static function generateHash($value, $namespace = '')
5454
{
@@ -71,7 +71,7 @@ public static function generateHash($value, $namespace = '')
7171
* @param array $array The array to flatten
7272
* @param array $output The flattened output
7373
*
74-
* @internal Should not be used by user-land code
74+
* @internal
7575
*/
7676
private static function flatten(array $array, &$output)
7777
{

0 commit comments

Comments
 (0)