File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ class ComposerLocator implements LocatorInterface
2828 */
2929 private $ loader ;
3030
31- public function __construct (ClassLoader $ composerLoader = null )
31+ public function __construct (? ClassLoader $ composerLoader = null )
3232 {
3333 if ($ composerLoader === null ) {
3434 $ loaders = spl_autoload_functions ();
Original file line number Diff line number Diff line change @@ -68,8 +68,8 @@ class ReflectionProperty extends BaseReflectionProperty
6868 public function __construct (
6969 string $ className ,
7070 string $ propertyName ,
71- Property |Param $ propertyOrPromotedParam = null ,
72- PropertyItem |Param $ propertyItemOrPromotedParam = null
71+ Property |Param | null $ propertyOrPromotedParam = null ,
72+ PropertyItem |Param | null $ propertyItemOrPromotedParam = null
7373 ) {
7474 $ this ->className = ltrim ($ className , '\\' );
7575 if (!$ propertyOrPromotedParam || !$ propertyItemOrPromotedParam ) {
You can’t perform that action at this time.
0 commit comments