@@ -91,6 +91,4 @@ |
||
91 | 91 | |
92 | 92 | private function registerStatefulEloquentServiceProvider () |
93 | 93 | { |
94 | - $this->app->register(StatefulServiceProvider::class); |
|
95 | - } |
|
96 | -} |
|
94 | + $this->app |
|
97 | 95 | \ No newline at end of file |
@@ -91,6 +91,4 @@ |
||
91 | 91 | |
92 | 92 | private function registerStatefulEloquentServiceProvider () |
93 | 93 | { |
94 | - $this->app->register(StatefulServiceProvider::class); |
|
95 | - } |
|
96 | -} |
|
94 | + $this->app |
|
97 | 95 | \ No newline at end of file |
@@ -91,6 +91,4 @@ |
||
91 | 91 | |
92 | 92 | private function registerStatefulEloquentServiceProvider () |
93 | 93 | { |
94 | - $this->app->register(StatefulServiceProvider::class); |
|
95 | - } |
|
96 | -} |
|
94 | + $this->app |
|
97 | 95 | \ No newline at end of file |
@@ -91,6 +91,4 @@ |
||
91 | 91 | |
92 | 92 | private function registerStatefulEloquentServiceProvider () |
93 | 93 | { |
94 | - $this->app->register(StatefulServiceProvider::class); |
|
95 | - } |
|
96 | -} |
|
94 | + $this->app |
|
97 | 95 | \ No newline at end of file |
@@ -18,11 +18,11 @@ discard block |
||
18 | 18 | public function register() |
19 | 19 | { |
20 | 20 | if (!defined('SCOOL_INVENTORY_PATH')) { |
21 | - define('SCOOL_INVENTORY_PATH', realpath(__DIR__.'/../../')); |
|
21 | + define('SCOOL_INVENTORY_PATH', realpath(__DIR__ . '/../../')); |
|
22 | 22 | } |
23 | 23 | $this->app->register(NamesServiceProvider::class); |
24 | 24 | $this->app->bind(\Scool\Inventory\Repositories\StudyRepository::class, \Scool\Inventory\Repositories\StudyRepositoryEloquent::class); |
25 | - $this->app->bind(StatsRepositoryInterface::class,function() { |
|
25 | + $this->app->bind(StatsRepositoryInterface::class, function() { |
|
26 | 26 | return new CacheableStatsRepository(new StatsRepository()); |
27 | 27 | }); |
28 | 28 | } |
@@ -44,7 +44,7 @@ discard block |
||
44 | 44 | */ |
45 | 45 | private function loadMigrations() |
46 | 46 | { |
47 | - $this->loadMigrationsFrom(SCOOL_INVENTORY_PATH.'/database/migrations'); |
|
47 | + $this->loadMigrationsFrom(SCOOL_INVENTORY_PATH . '/database/migrations'); |
|
48 | 48 | } |
49 | 49 | /** |
50 | 50 | * Publish factories. |
@@ -64,14 +64,14 @@ discard block |
||
64 | 64 | ScoolInventory::configs(), 'scool_inventory' |
65 | 65 | ); |
66 | 66 | $this->mergeConfigFrom( |
67 | - SCOOL_INVENTORY_PATH.'/config/inventory.php', 'scool_inventory' |
|
67 | + SCOOL_INVENTORY_PATH . '/config/inventory.php', 'scool_inventory' |
|
68 | 68 | ); |
69 | 69 | } |
70 | 70 | private function publishTests() |
71 | 71 | { |
72 | 72 | $this->publishes( |
73 | - [SCOOL_INVENTORY_PATH.'/tests/InventoryTest.php' => 'tests/InventoryTest.php'], |
|
74 | -<<<<<<< HEAD |
|
73 | + [ SCOOL_INVENTORY_PATH . '/tests/InventoryTest.php' => 'tests/InventoryTest.php' ], |
|
74 | +<< << <<< HEAD |
|
75 | 75 | 'scool_inventory' |
76 | 76 | ======= |
77 | 77 | 'scool_curriculum' |
@@ -91,6 +91,4 @@ discard block |
||
91 | 91 | |
92 | 92 | private function registerStatefulEloquentServiceProvider () |
93 | 93 | { |
94 | - $this->app->register(StatefulServiceProvider::class); |
|
95 | - } |
|
96 | -} |
|
94 | + $this->app |
|
97 | 95 | \ No newline at end of file |
@@ -91,6 +91,4 @@ |
||
91 | 91 | |
92 | 92 | private function registerStatefulEloquentServiceProvider () |
93 | 93 | { |
94 | - $this->app->register(StatefulServiceProvider::class); |
|
95 | - } |
|
96 | -} |
|
94 | + $this->app |
|
97 | 95 | \ No newline at end of file |
@@ -91,6 +91,4 @@ |
||
91 | 91 | |
92 | 92 | private function registerStatefulEloquentServiceProvider () |
93 | 93 | { |
94 | - $this->app->register(StatefulServiceProvider::class); |
|
95 | - } |
|
96 | -} |
|
94 | + $this->app |
|
97 | 95 | \ No newline at end of file |