CVS update: /cowiki/includes/cowiki/class/io/

[email protected] 6 Apr 2005 00:25:24 -0000
Newsgroups gmane.comp.php.cowiki.cvs
Message-ID <[email protected]>
User: dgorski 
Date: 05/04/05 17:25:24

Modified:
 /cowiki/includes/cowiki/class/io/
  class.FileInputStream.php, class.AbstractInputStream.php

Log:
 Remove return by reference, this won't work with 'strict' standards

File Changes:

Directory: /cowiki/includes/cowiki/class/io/
============================================

File [changed]: class.FileInputStream.php
Url: http://cowiki.tigris.org/source/browse/cowiki/includes/cowiki/class/io/class.FileInputStream.php?r1=1.9&r2=1.10
Delta lines:  +4 -4
-------------------
--- class.FileInputStream.php	12 Feb 2005 17:48:58 -0000	1.9
+++ class.FileInputStream.php	6 Apr 2005 00:25:24 -0000	1.10
@@ -2,7 +2,7 @@
 
 /**
  *
- * $Id: class.FileInputStream.php,v 1.9 2005/02/12 17:48:58 dgorski Exp $
+ * $Id: class.FileInputStream.php,v 1.10 2005/04/06 00:25:24 dgorski Exp $
  *
  * This file is part of coWiki. coWiki is free software under the terms of
  * the GNU General Public License (GPL). Read the LICENSE file. If you did
@@ -17,7 +17,7 @@
  * @author      Daniel T. Gorski, <[email protected]>
  * @copyright   (C) Daniel T. Gorski, {@link http://www.develnet.org}
  * @license     http://www.gnu.org/licenses/gpl.html
- * @version     $Revision: 1.9 $
+ * @version     $Revision: 1.10 $
  *
  */
 
@@ -107,7 +107,7 @@
      *
      * @see     readAll
      */
-    public function &read($nLen) {
+    public function read($nLen) {
         if (is_resource($this->rFile)) {
             return @fread($this->rFile, $nLen);
         }
@@ -128,7 +128,7 @@
      * @see     available
      * @see     read
      */
-    public function &readAll() {
+    public function readAll() {
         $sBuf = '';
 
         if (is_resource($this->rFile)) {

File [changed]: class.AbstractInputStream.php
Url: http://cowiki.tigris.org/source/browse/cowiki/includes/cowiki/class/io/class.AbstractInputStream.php?r1=1.6&r2=1.7
Delta lines:  +4 -4
-------------------
--- class.AbstractInputStream.php	17 Feb 2005 02:35:34 -0000	1.6
+++ class.AbstractInputStream.php	6 Apr 2005 00:25:24 -0000	1.7
@@ -2,7 +2,7 @@
 
 /**
  *
- * $Id: class.AbstractInputStream.php,v 1.6 2005/02/17 02:35:34 dgorski Exp $
+ * $Id: class.AbstractInputStream.php,v 1.7 2005/04/06 00:25:24 dgorski Exp $
  *
  * This file is part of coWiki. coWiki is free software under the terms of
  * the GNU General Public License (GPL). Read the LICENSE file. If you did
@@ -17,7 +17,7 @@
  * @author      Daniel T. Gorski, <[email protected]>
  * @copyright   (C) Daniel T. Gorski, {@link http://www.develnet.org}
  * @license     http://www.gnu.org/licenses/gpl.html
- * @version     $Revision: 1.6 $
+ * @version     $Revision: 1.7 $
  *
  */
 
@@ -76,7 +76,7 @@
      *
      * @todo    [D11N]  Check description
      */
-    abstract public function &read($nLen);
+    abstract public function read($nLen);
 
     // --------------------------------------------------------------------
 
@@ -91,7 +91,7 @@
      *
      * @todo    [D11N]  Check description
      */
-    abstract public function &readAll();
+    abstract public function readAll();
 
     // --------------------------------------------------------------------