Skip to content

Commit b1b3b76

Browse files
committed
update readme
1 parent 2be0777 commit b1b3b76

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ OOP in a nutshell in PHP
99
- [Magic Method and Constant](#magic-method-and-constant)
1010
- [Inheritence](#inheritence)
1111
- [Override](#override)
12-
- [Abstruct Class and Method](#abstruct-class-and-method)
12+
- [Abstract Class and Method](#abstract-class-and-method)
1313
- [Interface](#interface)
1414
- [Polymorphism](#polymorphism)
1515
- [Type Hinting](#type-hinting)
@@ -307,7 +307,7 @@ $sportsCar1 = new SportsCar();
307307
echo $sportsCar1->hello();
308308
```
309309

310-
### Abstruct Class and Method
310+
### Abstract Class and Method
311311

312312
- An abstract class is a class that contains at least one abstract method, which is a method without any actual code in it, just the name and the parameters, and that has been marked as "abstract".
313313
- The purpose of this is to provide a kind of template to inherit from and to force the inheriting class to implement the abstract methods.

0 commit comments

Comments
 (0)