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

ProviderExtension::getTranslationResources()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 3
rs 10
c 0
b 0
f 0
cc 1
eloc 2
nc 1
nop 0
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
?>