diff --git a/src/Exceptions/ColumnDoesNotExistException.php b/src/Exceptions/ColumnDoesNotExistException.php index be6a791..c8f5319 100644 --- a/src/Exceptions/ColumnDoesNotExistException.php +++ b/src/Exceptions/ColumnDoesNotExistException.php @@ -4,6 +4,4 @@ use Exception; -class ColumnDoesNotExistException extends Exception -{ -} +class ColumnDoesNotExistException extends Exception {} diff --git a/src/Exceptions/MultipleTablesSuppliedException.php b/src/Exceptions/MultipleTablesSuppliedException.php index 7131fdd..ed85f8f 100644 --- a/src/Exceptions/MultipleTablesSuppliedException.php +++ b/src/Exceptions/MultipleTablesSuppliedException.php @@ -4,6 +4,4 @@ use Exception; -class MultipleTablesSuppliedException extends Exception -{ -} +class MultipleTablesSuppliedException extends Exception {} diff --git a/src/Exceptions/TableDoesNotExistException.php b/src/Exceptions/TableDoesNotExistException.php index 0c996ba..9cbc2fe 100644 --- a/src/Exceptions/TableDoesNotExistException.php +++ b/src/Exceptions/TableDoesNotExistException.php @@ -4,6 +4,4 @@ use Exception; -class TableDoesNotExistException extends Exception -{ -} +class TableDoesNotExistException extends Exception {} diff --git a/src/Exceptions/UnsupportedDbDriverException.php b/src/Exceptions/UnsupportedDbDriverException.php index 542abd5..31e1351 100644 --- a/src/Exceptions/UnsupportedDbDriverException.php +++ b/src/Exceptions/UnsupportedDbDriverException.php @@ -4,6 +4,4 @@ use Exception; -class UnsupportedDbDriverException extends Exception -{ -} +class UnsupportedDbDriverException extends Exception {} diff --git a/src/Resolvers/BaseSchemaRulesResolver.php b/src/Resolvers/BaseSchemaRulesResolver.php index 1e5ea5b..3cd508b 100644 --- a/src/Resolvers/BaseSchemaRulesResolver.php +++ b/src/Resolvers/BaseSchemaRulesResolver.php @@ -21,7 +21,7 @@ public function generate(): array { $tableColumns = $this->getColumnsDefinitionsFromTable(); - $skip_columns = config('schema-rules.skip_columns'); + $skip_columns = config('schema-rules.skip_columns', []); $tableRules = []; foreach ($tableColumns as $column) {