@@ -25,8 +25,7 @@ discard block |
||
| 25 | 25 | * @subpackage tx_dpf |
| 26 | 26 | * @access public |
| 27 | 27 | */ |
| 28 | -class MetaTags extends \tx_dlf_plugin |
|
| 29 | -{ |
|
| 28 | +class MetaTags extends \tx_dlf_plugin { |
|
| 30 | 29 | |
| 31 | 30 | /** |
| 32 | 31 | * @type \TYPO3\CMS\Core\Page\PageRenderer |
@@ -44,8 +43,7 @@ discard block |
||
| 44 | 43 | * |
| 45 | 44 | * @return string The content that is displayed on the website |
| 46 | 45 | */ |
| 47 | - public function main($content, $conf) |
|
| 48 | - { |
|
| 46 | + public function main($content, $conf) { |
|
| 49 | 47 | |
| 50 | 48 | $this->init($conf); |
| 51 | 49 | |
@@ -117,8 +115,7 @@ discard block |
||
| 117 | 115 | * |
| 118 | 116 | * @return string The metadata array ready for output |
| 119 | 117 | */ |
| 120 | - protected function printMetaTags(array $metadata) |
|
| 121 | - { |
|
| 118 | + protected function printMetaTags(array $metadata) { |
|
| 122 | 119 | |
| 123 | 120 | $output = ''; |
| 124 | 121 | |
@@ -243,8 +240,7 @@ discard block |
||
| 243 | 240 | * |
| 244 | 241 | * @return Formatted date |
| 245 | 242 | */ |
| 246 | - protected function safelyFormatDate($format, $date) |
|
| 247 | - { |
|
| 243 | + protected function safelyFormatDate($format, $date) { |
|
| 248 | 244 | return (strlen($date) == 4) ? $date : date($format, strtotime($date)); |
| 249 | 245 | } |
| 250 | 246 | |