Fix reference to is_IE that does not exist anymore (Closes #1484)
[platal.git] / ut / enginetest.php
index d6dd75e..1aeed16 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 /***************************************************************************
- *  Copyright (C) 2003-2010 Polytechnique.org                              *
+ *  Copyright (C) 2003-2011 Polytechnique.org                              *
  *  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
 {
-    public static function blahCallback(PlPage &$page)
+    public static function blahCallback(PlPage $page)
     {
         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);
     }
 
-    public static function fooCallback(PlPage &$page, $arg1 = null)
+    public static function fooCallback(PlPage $page, $arg1 = null)
     {
         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';