Skip to content

Commit 72a8443

Browse files
author
oilyflutesalad
committed
just fixed a couple minor typos
1 parent 136205e commit 72a8443

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

CODING_NOTES.php.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ To block out single lines use // and all // are assumed to be redundant test cod
4343

4444
// print_r($foo);
4545

46-
For incline comment use //** and //* eg
46+
For inline comment use //** and //* eg
4747

4848
//** Decide what do do
4949
switch($decide){
@@ -66,7 +66,7 @@ switch($decide){
6666
Do not use the phpdoc on every function, eg
6767

6868
/**
69-
* Login an user
69+
* Login a user
7070
* @param string user username
7171
* @param string password of user
7272
*/
@@ -75,7 +75,7 @@ function login($user, $pass){
7575
.......
7676
}
7777
<<
78-
as this function explains its self, the followinf clean code will suffice
78+
as this function explains its self, the following clean code will suffice
7979
>>
8080
function login($user, $pass){
8181
.......
@@ -84,7 +84,7 @@ function login($user, $pass){
8484
If you do need to explain a function then put un the summary syntax eg
8585

8686
/** Pass an array of values where third param is bar
87-
* $foo['bar'] = 1; // allow an user
87+
* $foo['bar'] = 1; // allow a user
8888
* $foo['bar'] = 2; // destroy user
8989
* $foo['bar'] = -1; // recreate
9090
*/

0 commit comments

Comments
 (0)