lib/Ajde/Document/Format/Data.php
The property $_cacheControl is not named in camelCase. Open
Open
class Ajde_Document_Format_Data extends Ajde_Document
{
protected $_cacheControl = self::CACHE_CONTROL_PUBLIC;
protected $_maxAge = 2678400; // 1 month
- Read upRead up
- Exclude checks
CamelCasePropertyName
Since: 0.2
It is considered best practice to use the camelCase notation to name attributes.
Example
class ClassName {
protected $property_name;
}
Source
The property $_maxAge is not named in camelCase. Open
Open
class Ajde_Document_Format_Data extends Ajde_Document
{
protected $_cacheControl = self::CACHE_CONTROL_PUBLIC;
protected $_maxAge = 2678400; // 1 month
- Read upRead up
- Exclude checks
CamelCasePropertyName
Since: 0.2
It is considered best practice to use the camelCase notation to name attributes.
Example
class ClassName {
protected $property_name;
}
Source
The class Ajde_Document_Format_Data is not named in CamelCase. Open
Open
class Ajde_Document_Format_Data extends Ajde_Document
{
protected $_cacheControl = self::CACHE_CONTROL_PUBLIC;
protected $_maxAge = 2678400; // 1 month
- Read upRead up
- Exclude checks
CamelCaseClassName
Since: 0.2
It is considered best practice to use the CamelCase notation to name classes.
Example
class class_name {
}