1 | <?php |
||
46 | class PMF_Export |
||
47 | { |
||
48 | /** |
||
49 | * Faq object. |
||
50 | * |
||
51 | * @var PMF_Faq |
||
52 | */ |
||
53 | protected $faq = null; |
||
54 | |||
55 | /** |
||
56 | * Category object. |
||
57 | * |
||
58 | * @var PMF_Category |
||
59 | */ |
||
60 | protected $category = null; |
||
61 | |||
62 | /** |
||
63 | * Configuration. |
||
64 | * |
||
65 | * @var PMF_Configuration |
||
66 | */ |
||
67 | protected $_config = null; |
||
68 | |||
69 | /** |
||
70 | * Factory. |
||
71 | * |
||
72 | * @param PMF_Faq $faq Faq object |
||
73 | * @param PMF_Category $category Category object |
||
74 | * @param PMF_Configuration $config Configuration object |
||
75 | * @param string $mode Export |
||
76 | * |
||
77 | * @return mixed |
||
78 | * |
||
79 | * @throws PMF_Exception |
||
80 | */ |
||
81 | public static function create(PMF_Faq $faq, PMF_Category $category, PMF_Configuration $config, $mode = 'pdf') |
||
100 | |||
101 | /** |
||
102 | * Returns the timestamp of the export. |
||
103 | * |
||
104 | * @return string |
||
105 | */ |
||
106 | public static function getExportTimeStamp() |
||
110 | } |
||
111 |
The break statement is not necessary if it is preceded for example by a return statement:
If you would like to keep this construct to be consistent with other case statements, you can safely mark this issue as a false-positive.