From 1df52f050d130d06d3e4fa73a793d3a6a2fd6f72 Mon Sep 17 00:00:00 2001 From: odan Date: Sun, 28 Feb 2016 02:31:33 +0100 Subject: [PATCH] Update namespace --- src/{Algorithm => Luhn}/Luhn.php | 0 test/demo.php | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) rename src/{Algorithm => Luhn}/Luhn.php (100%) diff --git a/src/Algorithm/Luhn.php b/src/Luhn/Luhn.php similarity index 100% rename from src/Algorithm/Luhn.php rename to src/Luhn/Luhn.php diff --git a/test/demo.php b/test/demo.php index 6dad63d..ffd8e77 100644 --- a/test/demo.php +++ b/test/demo.php @@ -4,7 +4,7 @@ echo "
\n";
 
-$luhn = new \Molengo\Luhn();
+$luhn = new \Odan\Luhn\Luhn();
 var_dump($luhn->create('1982'));       // 8
 var_dump($luhn->validate('19828'));    // true
 var_dump($luhn->validate('19829'));    // false