summaryrefslogtreecommitdiff
path: root/auth
diff options
context:
space:
mode:
Diffstat (limited to 'auth')
-rw-r--r--auth/authentication.php2
-rw-r--r--auth/ssh.php2
-rw-r--r--auth/telnet.php2
3 files changed, 3 insertions, 3 deletions
diff --git a/auth/authentication.php b/auth/authentication.php
index 1ec3cb1..7a67fb5 100644
--- a/auth/authentication.php
+++ b/auth/authentication.php
@@ -49,7 +49,7 @@ abstract class Authentication {
return new Telnet($config);
default:
- 'Unknown authentication mecanism "'.$config['auth'].'"."';
+ print 'Unknown authentication mecanism "'.$config['auth'].'"."';
return null;
}
}
diff --git a/auth/ssh.php b/auth/ssh.php
index 27bcdaf..07a51d2 100644
--- a/auth/ssh.php
+++ b/auth/ssh.php
@@ -21,7 +21,7 @@
require_once 'authentication.php';
-class SSH extends Authentication {
+final class SSH extends Authentication {
private $port;
public function __construct($config) {
diff --git a/auth/telnet.php b/auth/telnet.php
index d2b084a..6e4064e 100644
--- a/auth/telnet.php
+++ b/auth/telnet.php
@@ -21,7 +21,7 @@
require_once 'authentication.php';
-class Telnet extends Authentication {
+final class Telnet extends Authentication {
private $port;
public function __construct($config) {