Skip to content

Commit

Permalink
Update Router.php
Browse files Browse the repository at this point in the history
upgrade to php8
  • Loading branch information
oleksandr-diudiun authored Jul 26, 2021
1 parent 90fd6ed commit 34908b5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Router.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ class Router {
private $errorMessage;
private $errorServiceName;

private function __clone() {}
private function __wakeup() {}
private function __construct(string $serviceName = null, string $actionName = null, array $params = []) {
public function __clone() {}
public function __wakeup() {}
public function __construct(string $serviceName = null, string $actionName = null, array $params = []) {
$this->serviceName = $serviceName;
$this->actionName = $actionName;
$this->params = $params;
Expand Down

0 comments on commit 34908b5

Please sign in to comment.