| Conditions | 3 |
| Paths | 3 |
| Total Lines | 15 |
| Code Lines | 9 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 11 | public function check( ?array $tmp = [] ): ?array { |
||
| 12 | $fileType = []; |
||
| 13 | |||
| 14 | if ( isset( $tmp[ 0 ] ) ) { |
||
| 15 | if ( stripos( $tmp[ 0 ], 'globalsight' ) !== false ) { |
||
| 16 | $fileType[ 'proprietary' ] = true; |
||
| 17 | $fileType[ 'proprietary_name' ] = 'GlobalSight Download File'; |
||
| 18 | $fileType[ 'proprietary_short_name' ] = 'globalsight'; |
||
| 19 | $fileType[ 'converter_version' ] = 'legacy'; |
||
| 20 | |||
| 21 | return $fileType; |
||
| 22 | } |
||
| 23 | } |
||
| 24 | |||
| 25 | return null; |
||
| 26 | |||
| 29 |