Skip to content

Commit

Permalink
Merge 6370912 into 5da599a
Browse files Browse the repository at this point in the history
  • Loading branch information
lukewaite committed Dec 30, 2018
2 parents 5da599a + 6370912 commit e18a56b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions src/LambdaServiceProvider.php
Expand Up @@ -8,8 +8,8 @@ class LambdaServiceProvider extends ServiceProvider
{
public function boot()
{
$this->publishes([__DIR__.'/../config/aws-lambda.php' => config_path('aws-lambda.php')], 'config');
$this->publishes([__DIR__.'/../handler/handler.php' => base_path('handler.php')], 'handler');
$this->publishes([__DIR__ . '/../config/aws-lambda.php' => config_path('aws-lambda.php')], 'config');
$this->publishes([__DIR__ . '/../handler/handler.php' => base_path('handler.php')], 'handler');
}

/**
Expand All @@ -24,6 +24,6 @@ public function register()

protected function configPath()
{
return __DIR__.'/../config/aws-lambda.php';
return __DIR__ . '/../config/aws-lambda.php';
}
}
6 changes: 3 additions & 3 deletions src/handler.php
Expand Up @@ -8,7 +8,7 @@
* into the script here so that we do not have to worry about the
* loading of any our classes "manually". Feels great to relax.
*/
require __DIR__.'/../../../../bootstrap/autoload.php';
require __DIR__ . '/../../../../bootstrap/autoload.php';

/**
* Turn On The Lights.
Expand All @@ -18,7 +18,7 @@
* will load up this application so that we can run it and send
* the responses back to the browser and delight our users.
*/
$app = require __DIR__.'/../../../../bootstrap/app.php';
$app = require __DIR__ . '/../../../../bootstrap/app.php';

/*
* Configure storage.
Expand All @@ -45,7 +45,7 @@
'/tmp/laravel/logs',
];
foreach ($paths as $path) {
if (! file_exists($path)) {
if (!file_exists($path)) {
mkdir($path, 0777, true);
}
}
Expand Down

0 comments on commit e18a56b

Please sign in to comment.