Skip to content

Commit dd5137b

Browse files
author
Mark Horninger
committed
Updated composer and phpcs errors.
1 parent 3bf9033 commit dd5137b

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
],
2121
"autoload": {
2222
"psr-4": {
23-
"Mhorninger\\SQLite": "src/"
23+
"Mhorninger\\SQLite\\": "src/"
2424
}
2525
}
2626
}

src/Mhorninger/SQLite/MySQLiteServiceProvider.php

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
<?php
2-
/**
3-
*/
42
namespace Mhorninger\SQLite;
3+
54
/**
65
* The Laravel ServiceProvider that initializes the MySQLite Connection.
76
*/
@@ -26,10 +25,10 @@ public function register()
2625
{
2726
// Add database driver.
2827
$this->app->resolving(
29-
'db',
28+
'db',
3029
function ($db) {
3130
$db->extend(
32-
'sqlite',
31+
'sqlite',
3332
function ($config, $name) {
3433
$config['name'] = $name;
3534
return new Connection($config);
@@ -38,4 +37,4 @@ function ($config, $name) {
3837
}
3938
);
4039
}
41-
}
40+
}

0 commit comments

Comments
 (0)