From 4ee115c4a381c1ea29932881dd9ccc708417d3cc Mon Sep 17 00:00:00 2001 From: Matt Schonert Date: Thu, 7 Dec 2023 23:54:57 -0500 Subject: [PATCH] fix: change "Classnames" to "Class names" Fix typo in PHP basic syntax content. --- concepts/basic-syntax/about.md | 2 +- concepts/basic-syntax/introduction.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/concepts/basic-syntax/about.md b/concepts/basic-syntax/about.md index 33337f16..99e59ecb 100644 --- a/concepts/basic-syntax/about.md +++ b/concepts/basic-syntax/about.md @@ -48,7 +48,7 @@ class Calculator { ## Naming conventions -Classnames should all be `PascalCase`. +Class names should all be `PascalCase`. Depending on the style standard; variables, functions, method names may be either `camelCase` or `snake_case`. Names may contain letters `a-zA-Z`, numbers `0-9`, and underscores `_` but they cannot start with a number. diff --git a/concepts/basic-syntax/introduction.md b/concepts/basic-syntax/introduction.md index 33337f16..99e59ecb 100644 --- a/concepts/basic-syntax/introduction.md +++ b/concepts/basic-syntax/introduction.md @@ -48,7 +48,7 @@ class Calculator { ## Naming conventions -Classnames should all be `PascalCase`. +Class names should all be `PascalCase`. Depending on the style standard; variables, functions, method names may be either `camelCase` or `snake_case`. Names may contain letters `a-zA-Z`, numbers `0-9`, and underscores `_` but they cannot start with a number.