1 | <?php namespace Mascame\Artificer; |
||
6 | class Localization |
||
7 | { |
||
8 | |||
9 | /** |
||
10 | * @var \Closure |
||
11 | */ |
||
12 | protected $lang_closure; |
||
13 | |||
14 | /** |
||
15 | * @var array |
||
16 | */ |
||
17 | protected $locales = array(); |
||
18 | |||
19 | |||
20 | public function __construct() |
||
29 | |||
30 | public function getConfigLocales() |
||
34 | |||
35 | /** |
||
36 | * @return array |
||
37 | */ |
||
38 | public function getLocales() |
||
48 | |||
49 | public function getLocaleNative($locale) |
||
59 | |||
60 | /** |
||
61 | * @param $column |
||
62 | * @return bool|int|string |
||
63 | */ |
||
64 | public function parseColumnLang($column) |
||
72 | |||
73 | /** |
||
74 | * @param $column |
||
75 | * @return bool|int|string |
||
76 | */ |
||
77 | protected function detectColumnLang($column) |
||
87 | |||
88 | /** |
||
89 | * @return array |
||
90 | */ |
||
91 | protected function getLanguageEndings() |
||
101 | } |
Our type inference engine has found an assignment to a property that is incompatible with the declared type of that property.
Either this assignment is in error or the assigned type should be added to the documentation/type hint for that property..