@@ -65,7 +65,7 @@ |
||
65 | 65 | * omited |
66 | 66 | * @param array $params Optional parameters |
67 | 67 | * |
68 | - * @return void |
|
68 | + * @return string |
|
69 | 69 | */ |
70 | 70 | public function __invoke($address, $linktext = null, $params = array()) |
71 | 71 | { |
@@ -43,20 +43,20 @@ |
||
43 | 43 | 'aliases' => [ |
44 | 44 | 'mailto' => Mailto::class, |
45 | 45 | ], |
46 | - ], |
|
47 | - 'controllers' => array( |
|
48 | - 'invokables' => array( |
|
49 | - ProxyController::class => ProxyController::class |
|
50 | - ), |
|
51 | - ), |
|
52 | - 'router' => array( |
|
53 | - 'routes' => array( |
|
54 | - 'mailproxy' => array( |
|
55 | - 'type' => 'Segment', |
|
46 | + ], |
|
47 | + 'controllers' => array( |
|
48 | + 'invokables' => array( |
|
49 | + ProxyController::class => ProxyController::class |
|
50 | + ), |
|
51 | + ), |
|
52 | + 'router' => array( |
|
53 | + 'routes' => array( |
|
54 | + 'mailproxy' => array( |
|
55 | + 'type' => 'Segment', |
|
56 | 56 | 'options' => array( |
57 | - 'route' => '/mailproxy[/:id]', |
|
57 | + 'route' => '/mailproxy[/:id]', |
|
58 | 58 | 'defaults' => array( |
59 | - 'controller' => ProxyController::class, |
|
59 | + 'controller' => ProxyController::class, |
|
60 | 60 | 'action' => 'index', |
61 | 61 | 'id' => 'moc.elpmaxe@ofni', |
62 | 62 | ), |