diff --git a/assets/templates/index.phtml b/assets/templates/index.phtml index 0fa74e5..acb6352 100644 --- a/assets/templates/index.phtml +++ b/assets/templates/index.phtml @@ -15,7 +15,7 @@ The site currently has content for learning the basics of PHP. In the future, more pages will be added for more advanced topics like building websites, database integration and security.
- PHP Apprentice is currently a work in progress. If you would like to contribute or request a certain discussion topic, checkout the GitHub repository. + PHP Apprentice is currently a work in progress. If you would like to contribute or request a certain discussion topic, check out the GitHub repository.
To get started, you will need to install PHP, have a text editor and open your terminal. diff --git a/code/arrays.php b/code/arrays.php index c80b82f..0891bc1 100644 --- a/code/arrays.php +++ b/code/arrays.php @@ -1,6 +1,8 @@ color = $color; } diff --git a/code/exceptions.php b/code/exceptions.php index 6548bfe..d813866 100644 --- a/code/exceptions.php +++ b/code/exceptions.php @@ -20,7 +20,7 @@ $processor = new Processor(); $processor->charge('1234'); // A developer who wants to prevent an exception from stopping code execution -// can catch the exception and use it for logging or a return an error to a user. +// can catch the exception and use it for logging or display the error to a user. // Just wrap the code that might throw an exception with the keyword "try" and brackets // followed by "catch", the exception type in parentheses and more brackets.