| Conditions | 2 |
| Paths | 2 |
| Total Lines | 13 |
| Code Lines | 8 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 1 | Features | 0 |
| 1 | <?php |
||
| 19 | public function register(): void |
||
| 20 | { |
||
| 21 | foreach ($this->columnTypes as [$columnTypeForMacro, $columnTypeForPostgres]) { |
||
| 22 | Blueprint::macro( |
||
| 23 | $columnTypeForMacro, |
||
| 24 | fn (string $columnName) => $this->addColumn($columnTypeForPostgres, $columnName) |
||
|
|
|||
| 25 | ); |
||
| 26 | } |
||
| 27 | |||
| 28 | Blueprint::macro('excludeRangeOverlapping', function ($columnName, ...$additionalColumns) { |
||
| 29 | return $this->addCommand('excludeRangeOverlapping', [ |
||
| 30 | 'range_column' => $columnName, |
||
| 31 | 'additionalColumns' => $additionalColumns, |
||
| 32 | ]); |
||
| 36 |
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.