Passed
Push — master ( 01777c...d8472d )
by Jakub
02:24
created

ProviderExtension   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 8
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 0
Metric Value
wmc 1
lcom 0
cbo 1
dl 0
loc 8
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A getTranslationResources() 0 3 1
1
<?php
2
declare(strict_types=1);
3
4
namespace Nexendrie\Translation\Bridges\NetteDI;
5
6
use Nette\DI\CompilerExtension;
7
8
/**
9
 * ProviderExtension
10
 *
11
 * @author Jakub Konečný
12
 */
13
class ProviderExtension extends CompilerExtension implements ITranslationProvider {
14
  /**
15
   * @return string[]
16
   */
17
  public function getTranslationResources(): array {
0 ignored issues
show
Coding Style introduced by
Expected 1 space after closing parenthesis; found 0
Loading history...
18
    return [__DIR__ . "/../../../../_temp"];
19
  }
20
}
21
?>