| Conditions | 1 |
| Paths | 1 |
| Total Lines | 14 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 6 |
| CRAP Score | 1.0156 |
| Changes | 0 | ||
| 1 | <?php |
||
| 28 | 2 | public function register() |
|
| 29 | { |
||
| 30 | Connection::resolverFor('mysql', function ($connection, $database, $prefix, $config) { |
||
| 31 | return new MySqlConnection($connection, $database, $prefix, $config); |
||
| 32 | 2 | }); |
|
| 33 | |||
| 34 | Connection::resolverFor('sqlite', function ($connection, $database, $prefix, $config) { |
||
| 35 | return new SQLiteConnection($connection, $database, $prefix, $config); |
||
| 36 | 2 | }); |
|
| 37 | |||
| 38 | Blueprint::macro('efficientUuid', function ($column) { |
||
| 39 | 2 | return $this->addColumn('efficientUuid', $column); |
|
|
|
|||
| 40 | 2 | }); |
|
| 41 | 2 | } |
|
| 42 | } |
||
| 43 |
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.