diff --git a/README.md b/README.md index b5ae5f08..97cb7b9f 100644 --- a/README.md +++ b/README.md @@ -1308,7 +1308,7 @@ class Worker implements WorkerInterface { // ....working } public function eat() { - // ...... eating in launch break + // ...... eating in lunch break } } @@ -1318,7 +1318,7 @@ class SuperWorker implements WorkerInterface { } public function eat() { - //.... eating in launch break + //.... eating in lunch break } } @@ -1355,7 +1355,7 @@ class Worker implements WorkableInterface, FeedableInterface { } public function eat() { - //.... eating in launch break + //.... eating in lunch break } } @@ -1371,7 +1371,7 @@ class SuperWorker implements WorkerInterface { } public function eat() { - //.... eating in launch break + //.... eating in lunch break } } @@ -1467,7 +1467,7 @@ class Manager { **[⬆ back to top](#table-of-contents)** ### Use method chaining -This pattern is very useful and commonly used it many libraries such +This pattern is very useful and commonly used in many libraries such as PHPUnit and Doctrine. It allows your code to be expressive, and less verbose. For that reason, I say, use method chaining and take a look at how clean your code will be. In your class functions, simply return `this` at the end of every function,