Skip to content

Commit

Permalink
Apply fixes from StyleCI (#7271)
Browse files Browse the repository at this point in the history
This pull request applies code style fixes from an analysis carried out
by [StyleCI](https://github.styleci.io).

---

For more information, click
[here](https://github.styleci.io/analyses/o7yxkb).
  • Loading branch information
DawoudIO authored Feb 22, 2025
2 parents c752be3 + 024da66 commit 0f2d266
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
7 changes: 4 additions & 3 deletions src/ChurchCRM/loadDatabase.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
<?php

$serviceContainer = \Propel\Runtime\Propel::getServiceContainer();
$serviceContainer->initDatabaseMaps(array (
'default' =>
array (
$serviceContainer->initDatabaseMaps(array(
'default' =>
array(
0 => '\\ChurchCRM\\model\\ChurchCRM\\Map\\CalendarEventTableMap',
1 => '\\ChurchCRM\\model\\ChurchCRM\\Map\\CalendarTableMap',
2 => '\\ChurchCRM\\model\\ChurchCRM\\Map\\ConfigTableMap',
Expand Down
8 changes: 4 additions & 4 deletions src/propel/config.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,20 +8,20 @@
$serviceContainer->setAdapterClass('default', 'mysql');
$manager = new ConnectionManagerSingle("default");
$manager->setName('dattabase');
$manager->setConfiguration(array (
$manager->setConfiguration(array(
'dsn' => 'mysql:host=database;port=3306;dbname=churchcrm',
'user' => 'churchcrm',
'password' => 'changeme',
'settings' =>
array (
array(
'charset' => 'utf8',
'queries' =>
array (
array(
),
),
'classname' => '\\Propel\\Runtime\\Connection\\ConnectionWrapper',
'model_paths' =>
array (
array(
0 => 'src',
1 => 'vendor',
),
Expand Down

0 comments on commit 0f2d266

Please sign in to comment.