We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b5ab1f8 commit 7a3c0c6Copy full SHA for 7a3c0c6
src/Schema/Builder.php
@@ -25,6 +25,7 @@ class Builder extends \Illuminate\Database\Schema\Builder
25
*
26
* @param $table
27
* @param $column
28
+ *
29
* @return bool
30
*/
31
public function hasColumn($table, $column): bool
tests/SchemaTest.php
@@ -394,7 +394,7 @@ public function testHasColumns(): void
394
{
395
// Insert documents with both column1 and column2
396
DB::connection()->collection('newcollection')->insert([
397
- ['column1' => 'value1', 'column2' => 'value2']
+ ['column1' => 'value1', 'column2' => 'value2'],
398
]);
399
400
$this->assertTrue(Schema::hasColumns('newcollection', ['column1', 'column2']));
0 commit comments