Browse Source

Fixed naming for FSM 1.7

Frederic G. Marand 17 years ago
parent
commit
1d788d06e0
1 changed files with 4 additions and 6 deletions
  1. 4 6
      boxed_scalars.php

+ 4 - 6
boxed_scalars.php

@@ -1,12 +1,10 @@
 <?php
 /**
- * This class enables use of scalar values with classes implementing iComparable
- * $Id: boxed_scalars.php,v 1.1 2006-12-03 23:20:08 marand Exp $
+ * This class enables use of scalar values with classes implementing Comparable_Interface
+ * $Id: boxed_scalars.php,v 1.2 2007-06-03 21:23:38 marand Exp $
  */
 
-require_once('misc.php'); // for iComparable
-
-class boxed_int implements iComparable
+class boxed_int implements Comparable_Interface
   {
   protected $value;
 
@@ -15,7 +13,7 @@ class boxed_int implements iComparable
     $this->value = $n;
     }
 
-  function cmp(iComparable $other)
+  function cmp(Comparable_Interface $other)
     {
     if ($this->value < $other->value)
       return -1;