Loader   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 5
Duplicated Lines 0 %

Importance

Changes 2
Bugs 0 Features 0
Metric Value
wmc 1
eloc 3
c 2
b 0
f 0
dl 0
loc 5
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A parseFile() 0 2 1
1
<?php
2
declare(strict_types=1);
3
4
namespace Nexendrie\Translation\Loaders;
5
6
/**
7
 * Loader
8
 *
9
 * @author Jakub Konečný
10
 * @testCase
11
 */
12
final class Loader extends FileLoader {
13
  protected string $extension = "php";
14
15
  protected function parseFile(string $filename): array {
16
    return require $filename;
17
  }
18
}
19
?>