Skip to content

Commit 05489a5

Browse files
committed
minor improvements in docblocks and comments
1 parent 26806af commit 05489a5

File tree

8 files changed

+14
-7
lines changed

8 files changed

+14
-7
lines changed

src/administrator/components/com_ccm/src/Controller/CmsController.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@
1414
// phpcs:enable PSR1.Files.SideEffects
1515

1616
use Joomla\CMS\MVC\Controller\FormController;
17+
use Joomla\Component\CCM\Administrator\Model\CmsModel;
18+
1719
class CmsController extends FormController
1820
{
1921
protected function getRedirectToListAppend()
@@ -38,6 +40,8 @@ public function migrate()
3840
* @param string $urlVar The name of the URL variable if different from the primary key.
3941
*
4042
* @return void
43+
*
44+
* @since 1.0.0
4145
*/
4246
public function save($key = null, $urlVar = null)
4347
{

src/administrator/components/com_ccm/src/Controller/CmssController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
/**
1919
* CmssController class.
2020
*
21-
* @since __DEV__
21+
* @since 1.0.0
2222
*/
2323
class CmssController extends ListController
2424
{

src/administrator/components/com_ccm/src/Controller/DisplayController.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ class DisplayController extends BaseController
2222
* The default view.
2323
*
2424
* @var string
25-
* @since __DEV__
25+
* @since 1.0.0
2626
*/
2727
protected $default_view = 'Cmss';
2828

@@ -34,7 +34,7 @@ class DisplayController extends BaseController
3434
*
3535
* @return static This object to support chaining.
3636
*
37-
* @since __DEV__
37+
* @since 1.0.0
3838
*/
3939
public function display($cachable = false, $urlparams = [])
4040
{

src/administrator/components/com_ccm/src/Extension/CCMComponent.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ public function boot(ContainerInterface $container) {
2929
*
3030
* @return array
3131
*
32-
* @since __DEV__
32+
* @since 1.0.0
3333
*/
3434
public function getContexts(): array
3535
{

src/administrator/components/com_ccm/src/Fields/CcmField.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
// what if data is null (e.g. image), then I can't get its type
2121

2222
class CcmField extends ListField {
23-
// define a custom form field
23+
2424
// the name of the type for our new field
2525
protected $type = 'ccm';
2626

src/administrator/components/com_ccm/src/Fields/CmsField.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
use Joomla\CMS\Form\Field\ListField;
1717

1818
class CmsField extends ListField { // this should be named CmsNameField
19-
// define a custom form field
19+
2020
// the name of the type for our new field
2121
protected $type = 'cms';
2222

src/administrator/components/com_ccm/src/Fields/CmsObjTypeField.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
use Joomla\CMS\Form\Field\ListField;
1717

1818
class CmsObjTypeField extends ListField {
19-
// define a custom form field
19+
2020
// the name of the type for our new field
2121
protected $type = 'cmsobjtype';
2222

src/administrator/components/com_ccm/src/Helper/MigrationHelper.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,10 @@ class MigrationHelper
2626
* Parse credentials for HTTP authentication headers.
2727
*
2828
* @param string $credentials Credentials string (token or username:password)
29+
*
2930
* @return array Headers array for HTTP requests
31+
*
32+
* @since 1.0.0
3033
*/
3134
public static function parseAuthentication($credentials)
3235
{

0 commit comments

Comments
 (0)