@@ -46,13 +46,13 @@ discard block |
||
46 | 46 | */ |
47 | 47 | public function __construct($paths = array()) |
48 | 48 | { |
49 | - if (! is_array($paths)) { |
|
49 | + if (!is_array($paths)) { |
|
50 | 50 | $paths = array( |
51 | 51 | $paths |
52 | 52 | ); |
53 | 53 | } |
54 | 54 | |
55 | - foreach($paths As $path) { |
|
55 | + foreach ($paths As $path) { |
|
56 | 56 | $this->init($path); |
57 | 57 | }; |
58 | 58 | } |
@@ -74,7 +74,7 @@ discard block |
||
74 | 74 | if (is_dir($path)) { |
75 | 75 | $d = dir($path); |
76 | 76 | while (false !== ($entry = $d->read())) { |
77 | - if (! in_array($entry, array( |
|
77 | + if (!in_array($entry, array( |
|
78 | 78 | '.', |
79 | 79 | '..' |
80 | 80 | ))) { |
@@ -83,7 +83,7 @@ discard block |
||
83 | 83 | |
84 | 84 | $this->is_loaded[] = $file; |
85 | 85 | |
86 | - if (! $lang) { |
|
86 | + if (!$lang) { |
|
87 | 87 | $this->logWarning('Language file contains no data: ' . $file); |
88 | 88 | } |
89 | 89 | |
@@ -105,7 +105,7 @@ discard block |
||
105 | 105 | */ |
106 | 106 | public function __($line = '') |
107 | 107 | { |
108 | - $line = ($line == '' or ! isset($this->language[$line])) ? FALSE : $this->language[$line]; |
|
108 | + $line = ($line == '' or !isset($this->language[$line])) ? FALSE : $this->language[$line]; |
|
109 | 109 | return $line; |
110 | 110 | } |
111 | 111 | } |
112 | 112 | \ No newline at end of file |