Skip to content

Commit 1120fab

Browse files
Comment updates in AbstractFactory
Fixed minor typos and punctuation in comments.
1 parent eef2b29 commit 1120fab

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Creational/AbstractFactory/AbstractFactory.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,11 @@
1111
* it is the concrete subclass which creates concrete components.
1212
*
1313
* In this case, the abstract factory is a contract for creating some components
14-
* for the web. There are two components : Text and Picture. There is two ways
14+
* for the web. There are two components : Text and Picture. There are two ways
1515
* of rendering : HTML or JSON.
1616
*
17-
* Therefore 4 concretes classes, but the client just need to know this contract
18-
* to build a correct http response (for a html page or for an ajax request)
17+
* Therefore 4 concrete classes, but the client just needs to know this contract
18+
* to build a correct HTTP response (for a HTML page or for an AJAX request).
1919
*/
2020
abstract class AbstractFactory
2121
{

0 commit comments

Comments
 (0)