diff --git a/src/Illuminate/Database/SQLiteConnection.php b/src/Illuminate/Database/SQLiteConnection.php index c2fc89c8e5e6..0cd5cfb6382c 100755 --- a/src/Illuminate/Database/SQLiteConnection.php +++ b/src/Illuminate/Database/SQLiteConnection.php @@ -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(); } } @@ -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'); }