mirror of
https://github.com/phpmon/website
synced 2025-08-07 14:50:09 +02:00
Add Rector & various upgrades
This commit is contained in:
@ -8,9 +8,11 @@ public function __construct(
|
||||
public readonly string $url,
|
||||
public readonly string $target,
|
||||
public readonly string $name
|
||||
) {}
|
||||
|
||||
public static function named($name, $url, $target): Redirection {
|
||||
return new Redirection($url, $target,$name);
|
||||
) {
|
||||
}
|
||||
}
|
||||
|
||||
public static function named($name, $url, $target): Redirection
|
||||
{
|
||||
return new Redirection($url, $target, $name);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user