git://git.onelab.eu
/
plcapi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c379c0f
)
the PLCAPI class requires __construct as well in order to move to php8
author
Thierry Parmentelat
<thierry.parmentelat@inria.fr>
Thu, 28 Apr 2022 12:39:59 +0000
(14:39 +0200)
committer
Thierry Parmentelat
<thierry.parmentelat@inria.fr>
Thu, 28 Apr 2022 12:39:59 +0000
(14:39 +0200)
php/plc_api.php
patch
|
blob
|
history
diff --git
a/php/plc_api.php
b/php/plc_api.php
index
551717c
..
38aa896
100644
(file)
--- a/
php/plc_api.php
+++ b/
php/plc_api.php
@@
-41,11
+41,11
@@
class PLCAPI {
var $calls;
var $multicall;
- function
PLCAPI
($auth = NULL,
- $server = PLC_API_HOST,
- $port = PLC_API_PORT,
- $path = PLC_API_PATH,
- $cainfo = NULL) {
+ function
__construct
($auth = NULL,
+
$server = PLC_API_HOST,
+
$port = PLC_API_PORT,
+
$path = PLC_API_PATH,
+
$cainfo = NULL) {
$this->auth = $auth;
$this->server = $server;
$this->port = $port;