Permalink
Browse files

Add error in test

  • Loading branch information...
jrcryer committed Jul 27, 2013
1 parent 56f3efa commit 0600b3e8c37275d128bebb4adf16350c919a8a1e
Showing with 4 additions and 4 deletions.
  1. +4 −4 test/HelloWorld.php
View
@@ -9,15 +9,15 @@ class World {
*
* @var string
*/
private $name = '';
private $a = '';
/**
* Constructor
*
* @param string $name
*/
public function __construct($name) {
$this->name = $name;
$this->a = $name;
}
/**
@@ -26,7 +26,7 @@ public function __construct($name) {
* @param string $name
*/
public function setName($name) {
$this->name = $name;
$this->a = $name;
}
/**
@@ -35,6 +35,6 @@ public function setName($name) {
* @return string
*/
public function getName() {
return $this->name;
return $this->a;
}
}

0 comments on commit 0600b3e

Please sign in to comment.