Skip to content

Commit

Permalink
formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
taylorotwell committed Oct 29, 2018
1 parent 56a62cb commit 674f8be
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Illuminate/Database/SQLiteConnection.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ public function __construct($pdo, $database = '', $tablePrefix = '', array $conf
{
parent::__construct($pdo, $database, $tablePrefix, $config);

if ($this->getForeignKeyConstraintsSetting() == true) {
if ($this->getForeignKeyConstraintsConfigurationValue() == true) {
$this->getSchemaBuilder()->enableForeignKeyConstraints();
}
}
Expand Down Expand Up @@ -82,11 +82,11 @@ protected function getDoctrineDriver()
}

/**
* Get the database connection foreign_key_constraints setting.
* Get the database connection foreign key constraints configuration option.
*
* @return boolean|null
*/
protected function getForeignKeyConstraintsSetting()
protected function getForeignKeyConstraintsConfigurationValue()
{
return $this->getConfig('foreign_key_constraints');
}
Expand Down

0 comments on commit 674f8be

Please sign in to comment.