| Conditions | 1 |
| Paths | 1 |
| Total Lines | 19 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 40 | public function __construct() |
||
| 41 | { |
||
| 42 | // Create loader object |
||
| 43 | $this->loader = new MoTranslator\Loader(); |
||
| 44 | |||
| 45 | // Set locale |
||
| 46 | $this->loader->setlocale( |
||
| 47 | $this->loader->detectlocale() |
||
|
|
|||
| 48 | ); |
||
| 49 | |||
| 50 | // Set default text domain |
||
| 51 | $this->loader->textdomain('sqlparser'); |
||
| 52 | |||
| 53 | // Set path where to look for a domain |
||
| 54 | $this->loader->bindtextdomain('sqlparser', __DIR__ . '/../locale/'); |
||
| 55 | |||
| 56 | // Get translator |
||
| 57 | $this->translator = $this->loader->get_translator(); |
||
| 58 | } |
||
| 59 | |||
| 85 |
This check looks for calls to methods that do not seem to exist on a given type. It looks for the method on the type itself as well as in inherited classes or implemented interfaces.
This is most likely a typographical error or the method has been renamed.