codingguidelines: Correct confusion of camelCase and PascalCase

This commit is contained in:
Stefan Herbrechtsmeier
2013-03-09 12:50:46 +01:00
parent f54d10e3ee
commit db321e415a

View File

@@ -65,7 +65,7 @@ All API methods need to be marked with `PHPDoc <http://en.wikipedia.org/wiki/PHP
Objects, Functions, Arrays & Variables
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Use Camelcase for Objects, Pascal case for functions and variables. If you set a default function/method parameter, dont use spaces
Use Pascal case for Objects, Camel case for functions and variables. If you set a default function/method parameter, dont use spaces
.. code-block:: javascript
@@ -237,7 +237,7 @@ This is how you'd do inheritance in JavaScript:
Objects, Functions & Variables
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Use Camelcase for Objects, Pascal case for functions and variables.
Use Pascal case for Objects, Camel case for functions and variables.
.. code-block:: javascript