Skip to content

Commit

Permalink
Fixing random stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
arcanedev-maroc committed Mar 4, 2017
1 parent 9110ecb commit 0ecaab5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 0 additions & 1 deletion src/LaravelSeoServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@ public function boot()

$this->loadMigrations();
$this->loadTranslations();
//$this->publishMigrations();
}

/**
Expand Down
3 changes: 2 additions & 1 deletion src/Redirectors/EloquentRedirector.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<?php namespace Arcanedev\LaravelSeo\Redirectors;

use Arcanedev\LaravelSeo\Contracts\Redirector;
use Arcanedev\LaravelSeo\Models\Redirect;

/**
* Class EloquentRedirector
Expand All @@ -25,7 +26,7 @@ public function getRedirectedUrls()
$redirects = $this->getRedirectModel()->get();

return $redirects->keyBy('old_url')
->transform(function ($item) {
->transform(function (Redirect $item) {
return [$item->new_url, $item->status];
})
->toArray();
Expand Down

0 comments on commit 0ecaab5

Please sign in to comment.