[Xfce4-commits] [www/wiki.xfce.org] 03/03: Update our xfce plugins to works with php7
noreply at xfce.org
noreply at xfce.org
Fri Oct 5 12:21:37 CEST 2018
This is an automated email from the git hooks/post-receive script.
s k u n n y k p u s h e d a c o m m i t t o b r a n c h m a s t e r
in repository www/wiki.xfce.org.
commit a0baa2a076b86b62bad6acb092fe3d11e2460407
Author: Romain B <skunnyk at alteroot.org>
Date: Fri Oct 5 11:07:15 2018 +0200
Update our xfce plugins to works with php7
---
lib/plugins/xfcedocs/syntax.php | 4 ++--
lib/plugins/xfcesubst/syntax.php | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/lib/plugins/xfcedocs/syntax.php b/lib/plugins/xfcedocs/syntax.php
index 3009859..04875fc 100644
--- a/lib/plugins/xfcedocs/syntax.php
+++ b/lib/plugins/xfcedocs/syntax.php
@@ -72,7 +72,7 @@ class syntax_plugin_xfcedocs extends DokuWiki_Syntax_Plugin
/**
* Handle the match
*/
- function handle ($match, $state, $pos, &$handler)
+ function handle ($match, $state, $pos, Doku_Handler $handler)
{
switch ($state)
{
@@ -102,7 +102,7 @@ class syntax_plugin_xfcedocs extends DokuWiki_Syntax_Plugin
/**
* Create output
*/
- function render ($mode, &$renderer, $data)
+ function render ($mode, Doku_Renderer $renderer, $data)
{
if ($mode == 'xhtml')
{
diff --git a/lib/plugins/xfcesubst/syntax.php b/lib/plugins/xfcesubst/syntax.php
index 5903f00..438ba96 100755
--- a/lib/plugins/xfcesubst/syntax.php
+++ b/lib/plugins/xfcesubst/syntax.php
@@ -152,7 +152,7 @@ class syntax_plugin_xfcesubst extends DokuWiki_Syntax_Plugin {
* @see render()
* @static
*/
- function handle($match, $state, $pos, &$handler){
+ function handle($match, $state, $pos, Doku_Handler $handler){
switch ($state) {
case DOKU_LEXER_ENTER :
break;
@@ -190,7 +190,7 @@ class syntax_plugin_xfcesubst extends DokuWiki_Syntax_Plugin {
* @public
* @see handle()
*/
- function render($mode, &$renderer, $data) {
+ function render($mode, Doku_Renderer $renderer, $data) {
if($mode == 'xhtml'){
list ($type, $id) = $data;
if($type == 'bug')
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Xfce4-commits
mailing list