aboutsummaryrefslogtreecommitdiffstats
path: root/include/classes/BigPipe/Resource/Stylesheet.php
AgeCommit message (Collapse)AuthorFilesLines
2021-10-24Fix a bug in the Item constructor parameter listHEADmasterThomas Lange1-1/+1
The id parameter of the Pagelet and Resource constructor doesn't accept NULL values anymore (since 76cdd118d68bda3b7b29b192c7bf3d6e02bd6079). Therefore, allow NULL values by using the parameter type "?string" instead of "string" to allow either string values or NULL.
2021-10-24Rename several properties and method parametersThomas Lange1-2/+2
* Rename "ID" property of the Item class to "id" * Rename "customID" constructor parameter to "id" * Rename "resourceURL" property of the Resource class to "url" * Rename "resourceURL" constructor parameter to "url"
2021-10-24Add parameter and return types for all PHP methodsThomas Lange1-2/+2
2021-10-24Fix constructor parameters for Resource classesThomas Lange1-1/+1
The first parameter for the constructor of the Resource classes should not be optional if the next parameters obviously are non-optional. The optional parameters (if any) must come after the required parameters.
2021-10-24Remove closing tags and ensure LF at end of filesThomas Lange1-1/+0
Remove the unnecessary PHP closing tags and ensure that *all* non-binary files ending with an LF character.
2017-08-06The "CSS" and "JS" resource representation classes has been renamed to ↵Thomas Lange1-0/+27
"Stylesheet" and "Javascript" to make it more consistent with the other class names (instead of using the abbreviations).