| Conditions | 1 |
| Paths | 1 |
| Total Lines | 9 |
| Lines | 9 |
| Ratio | 100 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 41 | View Code Duplication | public static function register(Cli $cli) |
|
| 42 | { |
||
| 43 | $cli = static::registerDatabaseOpts($cli); |
||
| 44 | $cli = static::registerMigrationOpts($cli); |
||
| 45 | |||
| 46 | return $cli |
||
| 47 | ->command(static::$name) |
||
| 48 | ->description('Create the migration repository.'); |
||
| 49 | } |
||
| 50 | } |
||
| 51 |
Methods can only be called on objects. This check looks for methods being called on variables that have been inferred to never be objects.