Skip to content
This repository was archived by the owner on Aug 15, 2023. It is now read-only.

Commit 3ab653c

Browse files
committed
Merge pull request #104 from 7elix/master
[TASK] Remove leading Slash on class names
2 parents 413e560 + 07b77ed commit 3ab653c

5 files changed

+5
-5
lines changed

Classes/Command/BackendApiCommandController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ public function injectLogManager(\TYPO3\CMS\Core\Log\LogManager $logManager) {
5656
* Initialize the object
5757
*/
5858
public function initializeObject() {
59-
$this->logger = $this->objectManager->get('\TYPO3\CMS\Core\Log\LogManager')->getLogger(__CLASS__);
59+
$this->logger = $this->objectManager->get('TYPO3\CMS\Core\Log\LogManager')->getLogger(__CLASS__);
6060
}
6161

6262
/**

Classes/Command/CacheApiCommandController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ public function injectLogManager(\TYPO3\CMS\Core\Log\LogManager $logManager) {
5757
* Initialize the object
5858
*/
5959
public function initializeObject() {
60-
$this->logger = $this->objectManager->get('\TYPO3\CMS\Core\Log\LogManager')->getLogger(__CLASS__);
60+
$this->logger = $this->objectManager->get('TYPO3\CMS\Core\Log\LogManager')->getLogger(__CLASS__);
6161
}
6262

6363
/**

Classes/Command/DatabaseApiCommandController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ public function injectLogManager(\TYPO3\CMS\Core\Log\LogManager $logManager) {
5858
* Initialize the object
5959
*/
6060
public function initializeObject() {
61-
$this->logger = $this->objectManager->get('\TYPO3\CMS\Core\Log\LogManager')->getLogger(__CLASS__);
61+
$this->logger = $this->objectManager->get('TYPO3\CMS\Core\Log\LogManager')->getLogger(__CLASS__);
6262
}
6363

6464
/**

Classes/Command/ExtensionApiCommandController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ public function injectLogManager(\TYPO3\CMS\Core\Log\LogManager $logManager) {
6161
* Initialize the object
6262
*/
6363
public function initializeObject() {
64-
$this->logger = $this->objectManager->get('\TYPO3\CMS\Core\Log\LogManager')->getLogger(__CLASS__);
64+
$this->logger = $this->objectManager->get('TYPO3\CMS\Core\Log\LogManager')->getLogger(__CLASS__);
6565
}
6666

6767
/**

Classes/Command/SiteApiCommandController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ public function injectLogManager(\TYPO3\CMS\Core\Log\LogManager $logManager) {
5959
* Initialize the object
6060
*/
6161
public function initializeObject() {
62-
$this->logger = $this->objectManager->get('\TYPO3\CMS\Core\Log\LogManager')->getLogger(__CLASS__);
62+
$this->logger = $this->objectManager->get('TYPO3\CMS\Core\Log\LogManager')->getLogger(__CLASS__);
6363
}
6464

6565
/**

0 commit comments

Comments
 (0)