projects
/
platal.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix reference to is_IE that does not exist anymore (Closes #1484)
[platal.git]
/
ut
/
enginetest.php
diff --git
a/ut/enginetest.php
b/ut/enginetest.php
index
d6dd75e
..
1aeed16
100644
(file)
--- a/
ut/enginetest.php
+++ b/
ut/enginetest.php
@@
-1,6
+1,6
@@
<?php
/***************************************************************************
<?php
/***************************************************************************
- * Copyright (C) 2003-201
0
Polytechnique.org *
+ * Copyright (C) 2003-201
1
Polytechnique.org *
* http://opensource.polytechnique.org/ *
* *
* This program is free software; you can redistribute it and/or modify *
* http://opensource.polytechnique.org/ *
* *
* This program is free software; you can redistribute it and/or modify *
@@
-30,19
+30,19
@@
class TestPage extends PlPage
class EngineTest extends PlTestCase
{
class EngineTest extends PlTestCase
{
- public static function blahCallback(PlPage
&
$page)
+ public static function blahCallback(PlPage $page)
{
return 'blah';
}
{
return 'blah';
}
- public static function blihCallback(PlPage
&
$page)
+ public static function blihCallback(PlPage $page)
{
$args = func_get_args();
array_shift($args);
return 'blih-' . implode('-', $args);
}
{
$args = func_get_args();
array_shift($args);
return 'blih-' . implode('-', $args);
}
- public static function fooCallback(PlPage
&
$page, $arg1 = null)
+ public static function fooCallback(PlPage $page, $arg1 = null)
{
if (is_null($arg1)) {
return 'foo';
{
if (is_null($arg1)) {
return 'foo';
@@
-51,7
+51,7
@@
class EngineTest extends PlTestCase
}
}
}
}
- public static function barCallback(PlPage
&
$page, $arg1 = null, $arg2 = null)
+ public static function barCallback(PlPage $page, $arg1 = null, $arg2 = null)
{
if (is_null($arg1)) {
return 'bar';
{
if (is_null($arg1)) {
return 'bar';