@@ -162,7 +162,7 @@ public function indexAction(): void
162
162
]);
163
163
}
164
164
165
- protected function processRedirectStartAndEndDate (string $ startDateTimeString = null , string $ endDateTimeString = null ): array
165
+ protected function processRedirectStartAndEndDate (? string $ startDateTimeString = null , ? string $ endDateTimeString = null ): array
166
166
{
167
167
$ valid = true ;
168
168
$ startDateTime = null ;
@@ -413,7 +413,7 @@ public function exportCsvAction(): void
413
413
*
414
414
* @throws StopActionException
415
415
*/
416
- public function importCsvAction (PersistentResource $ csvFile = null , string $ delimiter = ', ' ): void
416
+ public function importCsvAction (? PersistentResource $ csvFile = null , string $ delimiter = ', ' ): void
417
417
{
418
418
$ protocol = [];
419
419
@@ -466,8 +466,8 @@ protected function addRedirect(
466
466
int $ statusCode ,
467
467
?string $ host = null ,
468
468
?string $ comment = null ,
469
- DateTime $ startDateTime = null ,
470
- DateTime $ endDateTime = null ,
469
+ ? DateTime $ startDateTime = null ,
470
+ ? DateTime $ endDateTime = null ,
471
471
bool $ force = false
472
472
): array
473
473
{
@@ -526,8 +526,8 @@ protected function updateRedirect(
526
526
int $ statusCode ,
527
527
?string $ host = null ,
528
528
?string $ comment = null ,
529
- DateTime $ startDateTime = null ,
530
- DateTime $ endDateTime = null ,
529
+ ? DateTime $ startDateTime = null ,
530
+ ? DateTime $ endDateTime = null ,
531
531
bool $ force = false
532
532
): array
533
533
{
@@ -600,7 +600,7 @@ protected function isSame(
600
600
string $ targetUriPath ,
601
601
?string $ host ,
602
602
int $ statusCode ,
603
- RedirectInterface $ redirect = null
603
+ ? RedirectInterface $ redirect = null
604
604
): bool
605
605
{
606
606
if ($ redirect === null ) {
0 commit comments