Completed
Push — develop ( 29c45a...9c1d06 )
by René
03:15
created

Classes/Utility/TitleUtility.php (1 issue)

Upgrade to new PHP Analysis Engine

These results are based on our legacy PHP analysis, consider migrating to our new PHP analysis engine instead. Learn more

1
<?php
2
3
/**
4
 * Class TitleUtility
5
 */
6
7
namespace HDNET\OnpageIntegration\Utility;
8
9
/**
10
 * Class TitleUtility
11
 */
12
class TitleUtility
13
{
14
15
    /**
16
     * @param $section
17
     *
18
     * @return string
19
     */
20
    static public function makeSubTitle($section)
0 ignored issues
show
As per PSR2, the static declaration should come after the visibility declaration.
Loading history...
21
    {
22
        switch ($section) {
23
            case 'seoaspects':
24
                return 'SEO Aspekte';
25
                break;
26
            case 'contentaspects':
27
                return 'Technische Aspekte';
28
                break;
29
            case 'technicalaspects':
30
                return 'Technische Aspekte';
31
                break;
32
        }
33
    }
34
}
35