Skip to content

Commit 8681942

Browse files
committed
Update code
1 parent c717e4d commit 8681942

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

testclasses/classOne.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ class classOne {
66

77
public function method_from_class_one() {
88

9-
echo "<p>I am Class <b>" . __CLASS__ . "</b> have a namespace <b>" . __NAMESPACE__ . "</b> and a method <b>" . __METHOD__ . "</b></p>";
9+
echo "<p>I am Class <b>classOne</b> have a namespace <b>testclasses</b> and a method <b>method_from_class_one</b></p>";
1010
}
1111

1212
}

testclasses/classThree.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ class three_class {
66

77
public function method_from_three_class() {
88

9-
echo "<p>I am Class <b>" . __CLASS__ . "</b> have a namespace <b>" . __NAMESPACE__ . "</b> and a method <b>" . __METHOD__ . "</b></p>";
9+
echo "<p>I am Class <b>three_class</b> have a namespace <b>name_space\namespace2</b> and a method <b>method_from_three_class</b></p>";
1010
}
1111

1212
}

testclasses/classes/classTwo.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ class class_two {
66

77
public function method_from_class_two() {
88

9-
echo "<p>I am Class <b>", __CLASS__, "</b> have a method <b>", __METHOD__, "</b></p>";
9+
echo "<p>I am Class <b>class_two</b> have a method <b>method_from_class_two</b></p>";
1010
}
1111

1212
}

0 commit comments

Comments
 (0)