Skip to content

Apply fixes from StyleCI #69

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 19, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/Console/TinkerCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ public function handle()
$this->getApplication()->setCatchExceptions(false);

$config = new Configuration([
'updateCheck' => 'never'
'updateCheck' => 'never',
]);

$config->getPresenter()->addCasters(
Expand Down
6 changes: 3 additions & 3 deletions src/TinkerServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@

namespace Laravel\Tinker;

use Illuminate\Foundation\Application as LaravelApplication;
use Illuminate\Support\ServiceProvider;
use Laravel\Lumen\Application as LumenApplication;
use Laravel\Tinker\Console\TinkerCommand;
use Laravel\Lumen\Application as LumenApplication;
use Illuminate\Foundation\Application as LaravelApplication;

class TinkerServiceProvider extends ServiceProvider
{
Expand All @@ -23,7 +23,7 @@ class TinkerServiceProvider extends ServiceProvider
*/
public function boot()
{
$source = realpath($raw = __DIR__ . '/../config/tinker.php') ?: $raw;
$source = realpath($raw = __DIR__.'/../config/tinker.php') ?: $raw;

if ($this->app instanceof LaravelApplication && $this->app->runningInConsole()) {
$this->publishes([$source => config_path('tinker.php')]);
Expand Down