File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed
Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change 33namespace Ray \WebContextParam \Annotation ;
44
55use Doctrine \Common \Annotations \NamedArgumentConstructorAnnotation ;
6- use function is_array ;
7- use function is_string ;
86
97abstract class AbstractWebContextParam implements NamedArgumentConstructorAnnotation
108{
@@ -23,13 +21,13 @@ abstract class AbstractWebContextParam implements NamedArgumentConstructorAnnota
2321 /**
2422 * Parameter(Variable) name
2523 *
24+ * This parameter is used to specify a parameter from a method in PHP7,
25+ * and is not needed when attributing to a parameter in PHP8.
26+ *
2627 * @var string
2728 */
2829 public $ param ;
2930
30- /**
31- * @param string|array{key?: string, param?: string} $values
32- */
3331 public function __construct (string $ key = '' , string $ param = '' )
3432 {
3533 $ this ->key = $ key ;
You can’t perform that action at this time.
0 commit comments